Apt-get. GPG error.

From MyWiki

(Difference between revisions)
Jump to: navigation, search
(New page: apt-get. GPG error. 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 ...)
(added aptitude option)
 
(2 intermediate revisions not shown)
Line 1: Line 1:
-
apt-get. GPG error.
+
I found a [http://muzso.hu/2007/05/25/how-to-fix-no_pubkey-errors-in-apt-get-update-operations 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 <tt>apt-get update</tt> on a system that was quite old by then:
  GPG error: http://http.us.debian.org sid Release: The following
  GPG error: http://http.us.debian.org sid Release: The following
Line 5: Line 7:
  available: NO_PUBKEY 010908312D230C5F
  available: NO_PUBKEY 010908312D230C5F
 +
To fix it I run:
-
run:
+
  gpg --keyserver subkeys.pgp.net --recv 010908312D230C5F
-
  wget http://ftp-master.debian.org/ziyi_key_2006.asc -O - | apt-key add -
+
gpg --export --armor 010908312D230C5F | apt-key add -
 +
 
 +
Then:
-
then:
 
  apt-get update
  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

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