Debian has updated their signing keys so apt-get update produces errors like these:

W: GPG error: http://mirrors.dk.telia.net testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: GPG error: http://mirrors.dk.telia.net unstable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F
W: You may want to run apt-get update to correct these problems

The solution is to import the new keys (run as root):

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

and rerun apt-get update.

# # #

January 6, 2006

Comments

Or, if the above command doesn’t work out, and like here says something like

no ultimate signatures found

just do a
wget http://ftp-master.debian.or… && apt-key get add ziyi_key_2006.asc

This will work and, apt-key will only be fired, if the key file was downloaded correctly (in wget’s mind)

What did I do wrong?
modelearth:~# wget http://ftp-master.debian.or… | apt-key get add ziyi_key_2006.asc
–05:38:23– http://ftp-master.debian.or
=> `ziyi_key_2006.asc’
Resolving ftp-master.debian.org… Usage: apt-key [command] [arguments]

Manage apt’s list of trusted keys

apt-key add <file> – add the key contained in <file> (‘-‘ for stdin)
apt-key del <keyid> – remove the key <keyid>
apt-key update – update keys using the keyring package
apt-key list – list keys

140.211.166.43
Connecting to ftp-master.debian.org|140.211.166.43|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 2,017 (2.0K) [text/plain]

100%[====================================>] 2,017 –.–K/s

05:38:23 (33.75 MB/s) – `ziyi_key_2006.asc’ saved [2017/2017]

He did exactly like PTM told him, so doofus is PTM

Why do I still get this after successfully applying the key update?

# apt-get update
Get: 1 http://security.debian.org stable/updates Release.gpg [189B]
Get: 2 http://ftp.debian.org testing Release.gpg [189B]
Hit http://security.debian.org stable/updates Release
Hit http://ftp.debian.org testing Release
Errhttp://ftp.debian.org testing Release

Ign http://security.debian.org stable/updates/main Packages
Get: 3 http://ftp.debian.org testing Release [35.4kB]
Hit http://security.debian.org stable/updates/main Packages
Ign http://ftp.debian.org testing Release
Hit http://ftp.debian.org testing/main Packages
Hit http://ftp.debian.org testing/main Sources
Fetched 35.6kB in 0s (58.3kB/s)
Reading package lists… Done
W: GPG error: http://ftp.debian.org testing Release: The following signatures were invalid: BADSIG 010908312D230C5F Debian Archive Automatic Signing Key (2006) <ftpmaster@debian.org>
W: You may want to run apt-get update to correct these problems

Leave a Reply