Automatically Install Missing PPA GPG Keys With One Command (or your money back*)

Automatically Install Missing PPA GPG Keys With One Command (or your money back*): "Below is a simple script that automatically grabs any missing GPG keys.

abc If running an update ever spits this error at you: -

GPG error: http://ppa.launchpad.net jaunty release:
The following signatures couldn't be verified because the public key is not
available: NO_PUBKEY DAA9427DCBF475C3
You can solve it in one command. Seriously.

  1. Download this script: http://dl.getdropbox.com/u/1115768/launchpad-update.tar.gz

  2. Extract the script from the archive by right clicking –> extract

  3. Move it to your home folder if it’s not already there.

  4. Open a terminal and type: -

  • sudo ./launchpad-update

5. That’s it!



The script will automatically scan your enabled repos and PPA’s and grab the correct distribution key for your release. All you need to do is run it!



Every now and again you will need to run it twice in a row if it fails to pick up a key but that’s hardly a great effort – just press the up arrow on your keyboard when in a terminal and hit return.



*That was a joke.



Sources:
http://www.stefanoforenza.com/
http://ubuntuforums.org/showthread.php?p=6700382#post6700382


"