Re: keep getting "GPG error" while doing update NO_PUBKEY
"H.S." wrote:
> I have tried:
> apt-key add /usr/share/apt/debian-archive.gpg
> apt-key add /usr/share/keyrings/debian-role-keys.gpg
> but the warning doesn't go away. What other keys do I need to import?
W: GPG error: http://secure-testing.debian.net etch/security-updates
Release: The following signatures couldn't be verified because the public
key is not available: NO_PUBKEY 946AA6E18722E71E
^^^^^^^^
Take the last 8 digits and fetch the public key from a keyserver:
~# gpg --keyserver pgp.mit.edu --recv-keys 8722E71E
~# gpg --armor --export 8722E71E | apt-key add -
and be happy. :-)
Reply to: