Error running apt-get update

The following error might occur if your doing a fresh install of Debian and run the "apt-get update" command.

 

Error:
Reading package lists... Done
W: There is no public key available for the following key IDs:
9AA38DCD55BE302B
W: GPG error: http://ftp2.de.debian.org lenny/updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9AA38DCD55BE302B
W: You may want to run apt-get update to correct these problems

 

The solution is very simple, simply run the commands below as root one by one and you will be able to run "apt-get update"

 

Solution:
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 9AA38DCD55BE302B
apt-key add ~/.gnupg/pubring.gpg

  • 88 Users Found This Useful
這篇文章有幫助嗎?