human choroinic gonadotropin


The notes of a madman

Archive for September, 2012

Posted by grigsby on September 25, 2012

After a recent nuke and pave on my Ubuntu 12.04 to attempt to deal with random Unity crashes I was met with a challange. I had kept all of my sources.list.d/* ppa entries but after attempting an apt-get update all I got was errors. Lots of errors just like this one:

W: GPG error: precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXXXXXXXXXXX

I had written a script a while ago to find all of the missing keys, download them, and install them, but I lost it in the upgrade. Instead of reinventing the wheel, again, I started searching and I find that somebody else had created a simlar script, but was smarter than I was as they actually published it.


sudo apt-add-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install launchpad-getkeys

Once the installation is complete, run this:

sudo launchpad-getkeys

And no more missing keys. A big thanks to Alin Andrei for having the forethought to publish his work when I didn’t…