Click to See Complete Forum and Search --> : Debian: missing apt PGP key


Syngin
01-16-2006, 02:37 PM
Hi guys,

Since we rolled over into 2006, apt under most of my Debian systems has been complaining that the PGP key it has isn't valid and kicks up a fuss when trying to update / upgrade.

I found a quick way to bypass this issue, run the following as root:

wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -

I've found that this will end the public key issues.

bwkaz
01-16-2006, 07:35 PM
I saw that a few days after the new year also (I have a Debian machine at work updating every day).

Doing some Googling showed this post to the apt development list:

http://lists.debian.org/deity/2005/08/msg00178.html

which provided an alternate fix. (Look at the key IDs that "apt-get update" is complaining about, then do the --recv-keys on them. Then do an apt-key add on the received public keys.)

This way, you don't have to find out a URL for the key before being able to get it. "gpg --keyserver whatever --recv-keys keyid" can get the key without knowing any particular URL, it just needs a keyserver and a key-ID. (Keyservers are fairly standard; see the above message for one. There's also pgpkeys.mit.edu, and a ton of others.)