If you’re a heavy user of PPAs then every now and then you will come across missing GPG key errors that will need to be fixed.

Fixing missing GPG Key errors in Ubuntu is, actually, very easy.


  1. Download this script: http://www.mediafire.com/?gnkmbteymna
  2. Move the downloaded script to your home folder
  3. Make it executable (right-click > properties > permissions)
  4. Open a terminal and type:
sudo ./launchpad-update

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.

How To gpg ppa tips ubuntu