Differences between revisions 6 and 7
Revision 6 as of 2009-03-16 03:30:10
Size: 1481
Editor: anonymous
Comment: converted to 1.6 markup
Revision 7 as of 2012-02-19 14:36:20
Size: 1497
Comment: improved readability.
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
 . These are the commands which you need to run.  . These are the commands which you need to run.{{{
Line 7: Line 7:
Line 9: Line 8:
Line 11: Line 9:
}}}
Line 13: Line 11:
{{{
Line 15: Line 13:

and then when you run the second command you may get this output. "gpg: no ultimately trusted keys found OK"
}}}
and then when you run the second command you may get this output: {{{
gpg: no ultimately trusted keys found OK
}}}

This page is about howto get ride of the error which says "W: GPG error: http://debian.cites.uiuc.edu testing Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 010908312D230C5F > W: You may want to run apt-get update to correct these problems" while updating your system with apt-get. Most of the time you get this error if the pubkey is not available on the debian server from were you are downloading your packages.

More detailed info are present on SecureApt (interesting things starting from How apt uses Release.gpg) . Please understand what you are doing first.

  • These are the commands which you need to run.

    $ gpg --recv-keys 2D230C5F
    $ gpg --export -a 2D230C5F | sudo apt-key add -
    $ apt-get update

after running the first command you may get an output similar to this one

gpg: requesting key 2D230C5F from hkp server subkeys.pgp.net gpg: key 2D230C5F: public key "Debian Archive Automatic Signing Key (2006) < ftpmaster@debian.org >" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg:               imported: 1

and then when you run the second command you may get this output:

gpg: no ultimately trusted keys found OK

if you get the above output's that means a proper key hasn't been found yet just repeat first 2 steps. and then you can update your packages once every thing is perfect.