Today I was trying update one of Vmware Ubuntu Lucid 10.04 system using “sudo apt-get update” command. After updating the system it was giving a warning message everytime like the following
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY ***************
Then I searched for the solution to get rid of the warning message and found that following commands worked for me.
$sudo gpg –keyserver keyserver.ubuntu.com –recv 5BB92C09DB82666
This will give you the following output
gpg: directory `/home/suzan/.gnupg’ createdgpg: new configuration file `/home/suzan/.gnupg/gpg.conf’ createdgpg: WARNING: options in `/home/suzan/.gnupg/gpg.conf’ are not yet active during this rungpg: keyring `/home/suzan/.gnupg/secring.gpg’ createdgpg: keyring `/home/suzan/.gnupg/pubring.gpg’ createdgpg: requesting key DB82666C from hkp server keyserver.ubuntu.comgpg: /home/suzan/.gnupg/trustdb.gpg: trustdb createdgpg: key DB82666C: public key “Launchpad Old Python Versions” importedgpg: Total number processed: 1gpg: imported: 1 (RSA: 1)
Then use this command
$sudo gpg –export –armor 5BB92C09DB82666C | sudo apt-key add -
Now you can feel free to update your system without any warning
$ sudo apt-get update
Enjoy and Happy Linuxing!!!!!