Apt-get. GPG error.

From MyWiki

(Difference between revisions)
Jump to: navigation, search
(Updated with a better way of doing it using gpg)
(added aptitude option)
 
Line 17: Line 17:
NOTE: Some people said that they had to use a different key server (for example wwwkeys.eu.pgp.net).
NOTE: Some people said that they had to use a different key server (for example wwwkeys.eu.pgp.net).
 +
 +
Or you could do this:
 +
 +
sudo aptitude install debian-archive-keyring

Current revision as of 12:57, 26 May 2011

I found a better way to do it that I originally thought would be the way.

So, what I wanted to fix was this: error message when I was trying to do apt-get update on a system that was quite old by then:

GPG error: http://http.us.debian.org sid Release: The following
signatures couldn't be verified because the public key is not
available: NO_PUBKEY 010908312D230C5F

To fix it I run:

gpg --keyserver subkeys.pgp.net --recv 010908312D230C5F
gpg --export --armor 010908312D230C5F | apt-key add -

Then:

apt-get update

NOTE: Some people said that they had to use a different key server (for example wwwkeys.eu.pgp.net).

Or you could do this:

sudo aptitude install debian-archive-keyring
Personal tools