Apt-get update error: W: There is no public key available for the following key IDs:
While running apt-get update or aptitude update you may come across the following error
W: There is no public key available for the following key IDs:
4D270D06F42584E6
W: You may want to run apt-get update to correct these problems
Run the following command to resolve this:
# apt-get install debian-archive-keyring
Categories: Debian, Linux
apt-get, apt-get key, aptitude, debian-archive-keyring, update
Unsuccessful
user@laptop:/$ sudo apt-get install debian-archive-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
debian-archive-keyring
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 12.9kB of archives.
After this operation, 61.4kB of additional disk space will be used.
Get:1 http://us.archive.ubuntu.com jaunty/universe debian-archive-keyring 2009.01.31 [12.9kB]
Fetched 12.9kB in 1s (8157B/s)
Selecting previously deselected package debian-archive-keyring.
(Reading database ... 121458 files and directories currently installed.)
Unpacking debian-archive-keyring (from .../debian-archive-keyring_2009.01.31_all.deb) ...
Setting up debian-archive-keyring (2009.01.31) ...
gpg: key 437D05B5: "Ubuntu Archive Automatic Signing Key " not changed
gpg: key FBB75451: "Ubuntu CD Image Automatic Signing Key " not changed
gpg: Total number processed: 2
gpg: unchanged: 2
user@laptop:/$ sudo apt-get update
Get:1 http://www.cgarbs.de ./ Release.gpg [189B]
Ign http://www.cgarbs.de ./ Translation-en_US
Hit http://us.archive.ubuntu.com jaunty Release.gpg
Ign http://us.archive.ubuntu.com jaunty/main Translation-en_US
Hit http://security.ubuntu.com jaunty-security Release.gpg
Ign http://security.ubuntu.com jaunty-security/main Translation-en_US
Ign http://security.ubuntu.com jaunty-security/restricted Translation-en_US
Get:2 http://www.cgarbs.de ./ Release [1756B]
Ign http://us.archive.ubuntu.com jaunty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com jaunty-updates Release.gpg
Ign http://us.archive.ubuntu.com jaunty-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com jaunty-updates/multiverse Translation-en_US
Ign http://www.cgarbs.de ./ Release
Hit http://us.archive.ubuntu.com jaunty Release
Ign http://security.ubuntu.com jaunty-security/universe Translation-en_US
Ign http://security.ubuntu.com jaunty-security/multiverse Translation-en_US
Hit http://security.ubuntu.com jaunty-security Release
Hit http://www.cgarbs.de ./ Packages
Hit http://us.archive.ubuntu.com jaunty-updates Release
Hit http://security.ubuntu.com jaunty-security/main Packages
Hit http://www.cgarbs.de ./ Sources
Hit http://us.archive.ubuntu.com jaunty/main Packages
Hit http://us.archive.ubuntu.com jaunty/restricted Packages
Hit http://us.archive.ubuntu.com jaunty/main Sources
Hit http://us.archive.ubuntu.com jaunty/restricted Sources
Hit http://us.archive.ubuntu.com jaunty/universe Packages
Hit http://security.ubuntu.com jaunty-security/restricted Packages
Hit http://security.ubuntu.com jaunty-security/main Sources
Hit http://security.ubuntu.com jaunty-security/restricted Sources
Hit http://security.ubuntu.com jaunty-security/universe Packages
Hit http://us.archive.ubuntu.com jaunty/universe Sources
Hit http://us.archive.ubuntu.com jaunty/multiverse Packages
Hit http://us.archive.ubuntu.com jaunty/multiverse Sources
Hit http://us.archive.ubuntu.com jaunty-updates/main Packages
Hit http://us.archive.ubuntu.com jaunty-updates/restricted Packages
Hit http://us.archive.ubuntu.com jaunty-updates/main Sources
Hit http://us.archive.ubuntu.com jaunty-updates/restricted Sources
Hit http://us.archive.ubuntu.com jaunty-updates/universe Packages
Hit http://us.archive.ubuntu.com jaunty-updates/universe Sources
Hit http://us.archive.ubuntu.com jaunty-updates/multiverse Packages
Hit http://security.ubuntu.com jaunty-security/universe Sources
Hit http://security.ubuntu.com jaunty-security/multiverse Packages
Hit http://security.ubuntu.com jaunty-security/multiverse Sources
Hit http://us.archive.ubuntu.com jaunty-updates/multiverse Sources
Fetched 190B in 2s (69B/s)
Reading package lists... Done
W: GPG error: http://www.cgarbs.de ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E74C61F0E77F37EE
W: You may want to run apt-get update to correct these problems
user@laptop:/$