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.
- Download this script: http://www.mediafire.com/?gnkmbteymna
- Move the downloaded script to your home folder
- Make it executable (right-click > properties > permissions)
- Open a terminal and type:
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.