Solved: gpg error http lucid release

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: 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 –recv 5BB92C09DB82666
This will give you the following output
gpg: directory `/home/suzan/.gnupg’ created
gpg: new configuration file `/home/suzan/.gnupg/gpg.conf’ created
gpg: WARNING: options in `/home/suzan/.gnupg/gpg.conf’ are not yet active during this run
gpg: keyring `/home/suzan/.gnupg/secring.gpg’ created
gpg: keyring `/home/suzan/.gnupg/pubring.gpg’ created
gpg: requesting key DB82666C from hkp server
gpg: /home/suzan/.gnupg/trustdb.gpg: trustdb created
gpg: key DB82666C: public key “Launchpad Old Python Versions” imported
gpg: Total number processed: 1
gpg:               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!!!!!