GPG error 'NO PUBLIC KEY FOUND':
Still, I am not sure that how public keys were deleted, but these keys can be recovered by running the following command in terminal.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF5ED91C56978EF9
Replace hexadecimal numbers with the number written in the error while updating ubuntu. If there are more than one error then run the above command by changing the hexadecimal numbers associated with each error. At the end run the following command,
sudo apt-get update
I hope it will work :)
Good post. Hashim :D
ReplyDeleteIt must be like Sarcasm :P
ReplyDeleteIs the perfect post! It really helped me!
ReplyDeleteThis is my error
ReplyDeletehelp me to sort it out
W: GPG error: http://ppa.launchpad.net natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5AF549300FEB6DD9
W: GPG error: http://ppa.launchpad.net natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 531EE72F4C9D234C
W: GPG error: http://ppa.launchpad.net natty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6AF0E1940624A220
E: Could not open file /var/lib/apt/lists/ppa.launchpad.net_tualatrix_ppa_ubuntu_dists_natty_main_binary-amd64_Packages.IndexDiff - open (2: No such file or directory)