Error: Debian Lenny public key is not available: NO_PUBKEY 9AA38DCD55BE302B

You run

apt-get update

and get the following errors:

W: GPG error: http://security.debian.org lenny/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: GPG error: http://ftp2.de.debian.org lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B NO_PUBKEY 4D270D06F42584E6
W: You may want to run apt-get update to correct these problems

 

Solution

Install the debian-archive-keyring package:

apt-get install debian-archive-keyring

server1:~# apt-get install debian-archive-keyring
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  debian-archive-keyring
1 upgraded, 0 newly installed, 0 to remove and 412 not upgraded.
Need to get 20.0kB of archives.
After unpacking 12.3kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  debian-archive-keyring
Install these packages without verification [y/N]?
 <-- y
Get:1 http://ftp2.de.debian.org lenny/main debian-archive-keyring 2010.08.28~lenny1 [20.0kB]
Fetched 20.0kB in 0s (115kB/s)
(Reading database ... 36850 files and directories currently installed.)
Preparing to replace debian-archive-keyring 2007.02.19 (using .../debian-archive-keyring_2010.08.28~lenny1_all.deb) ...
Unpacking replacement debian-archive-keyring ...
Setting up debian-archive-keyring (2010.08.28~lenny1) ...
gpg: key F42584E6: public key "Lenny Stable Release Key <[email protected]>" imported
gpg: key 55BE302B: public key "Debian Archive Automatic Signing Key (5.0/lenny) <[email protected]>" imported
gpg: key 6D849617: public key "Debian-Volatile Archive Automatic Signing Key (5.0/lenny)" imported
gpg: key B98321F9: public key "Squeeze Stable Release Key <[email protected]>" imported
gpg: key 473041FA: public key "Debian Archive Automatic Signing Key (6.0/squeeze) <[email protected]>" imported
gpg: Total number processed: 5
gpg:               imported: 5  (RSA: 4)
gpg: no ultimately trusted keys found

server1:~#

apt-get update

should now work without the NO_PUBKEY error.

Falko Timme

About Falko Timme

Falko Timme is an experienced Linux administrator and founder of Timme Hosting, a leading nginx business hosting company in Germany. He is one of the most active authors on HowtoForge since 2005 and one of the core developers of ISPConfig since 2000. He has also contributed to the O'Reilly book "Linux System Administration".

Share this page:

Suggested articles

0 Comment(s)

Add comment