Nasser Heidari

2009-07-14

apt-get complain “The following signatures couldn’t be verified because the public key is not available”

Filed under: Linux — Nasser Heidari @ 04:40

If you happen to upgrade using apt-get and get the following error:

# apt-get update
...
Fetched 18.7kB in 3s (5301B/s)
Reading package lists... Done
W: GPG error: http://non-us.debian.org stable/non-US Release: The following signatures couldn't be verified 
because the public key is not available: NO_PUBKEY F1D53D8C4F368D5D W: You may want to run apt-get update to correct these problems


It means that your APT doesn’t have needed the public key. In the example above, finger print of the public key is
F1D53D8C4F368D5D. To remedy the problem, you should do the following:

# gpg --keyserver wwwkeys.eu.pgp.net --recv-keys F1D53D8C4F368D5D
gpg: requesting key 4F368D5D from hkp server wwwkeys.eu.pgp.net
gpg: key 4F368D5D: public key "Debian Archive Automatic Signing Key (2005) " imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1

# gpg --armor --export F1D53D8C4F368D5D | apt-key add -
OK

Have a nice hacking ;)

About these ads

8 Comments »

  1. Thanks, I used this to resolved my problem.

    Good job!

    Comment by kyo — 2010-01-09 @ 06:27

  2. thanks!!!
    it’s worked :)

    Comment by kickflip — 2010-11-07 @ 00:46

  3. it doest work in my case……………….what should i doooooooooooooooooo

    Comment by gaurav — 2011-02-09 @ 13:54

  4. that is works. thank you

    Comment by toto — 2011-04-29 @ 07:21

  5. […] gpg –keyserver hkp://subkeys.pgp.net –recv-keys 40976EAF437D05B5 gpg –export –armor 40976EAF437D05B5 | sudo apt-key add – source : http://ubuntuforums.org/archive/index.php/t-671868.html http://linax.wordpress.com/2009/07/14/apt-get-complain-the-following-signatures-couldnt-be-verified-… […]

    Pingback by Ubuntu public key is not available « toto-share.com | sharing everything — 2011-04-29 @ 09:23

  6. […] If you get any errata about signatures not being able to be verified at the update stage, take a look here. […]

    Pingback by Installing Deluge on Debian Lenny | lewis::blog — 2011-06-15 @ 02:08

  7. Hi,

    It’s help me a lot.

    If the wwkeys is not funtioning please find another wwkeys by using this command :
    tuah% host -l pgp.net|grep wwwkeys <– this is how to finding keyservers

    Cheers.

    Tuah

    Comment by htuah — 2011-07-10 @ 07:56

  8. and make sure ;

    The first sudo is not mandatory, but the second is!

    $ gpg –armor –export F1D53D8C4F368D5D | sudo apt-key add -

    Comment by htuah — 2011-07-10 @ 07:58


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: