Debian 2006 GPG keys

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.


Comments

5 responses to “Debian 2006 GPG keys”

  1. 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)

  2. Mr. Jan Hearthstone avatar
    Mr. Jan Hearthstone

    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]

  3. lafs at n00bs avatar
    lafs at n00bs

    uhm you put apt-key get add instead of apt-key add…doofus

  4. 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

  5. Gerardo Ponce avatar
    Gerardo Ponce

    Is because a strange error from ftp://ftp.us.debian.org, not present from ftp://ftp.au.debian.org and others sites, but I have no idea if the error is at ftp://ftp.us.d.o. or where error doesen’t appears.
    I hope there is a “few days been solved error”

Leave a Reply

Your email address will not be published. Required fields are marked *