You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using pkgrepo.managed with keyserver/keyid you'll eventually run into this (after the key got downloaded, the repo source got installed and apt update is run):
Sub-process /usr/bin/sqv returned an error code (1), error message is: Error: Failed to parse keyring "/etc/apt/keyrings/key.gpg" Caused by: 0: Reading "/etc/apt/keyrings/key.gpg": EOF 1: EOF
Analysis
add_repo_key()retrieves the key in a format that's not suitable anymore for Debian trixie. To quote the upstream manpage:
To generate keys suitable for use in APT using GnuPG, you will need to use the gpg --export-options export-minimal [--armor] --export command. Earlier solutions involving --keyring file --import no longer work with recent GnuPG versions as they use a new internal format ("GPG keybox database").
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Symptom
When using
pkgrepo.managedwithkeyserver/keyidyou'll eventually run into this (after the key got downloaded, the repo source got installed andapt updateis run):Analysis
add_repo_key()retrieves the key in a format that's not suitable anymore for Debian trixie. To quote the upstream manpage:Solution
Works for me:
Beta Was this translation helpful? Give feedback.
All reactions