Adding a new PPA is quite a pain, and even after you add it, still you get ugly errors complaining the apt key is missing, and signature not being verified (this also leads to an obnoxious double confirmation from the gui updater). Stuff like this:
W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DAA9427DCBF475C3
Some people already got their ass bitten even here (and I’m quite happy other reader helped them faster than I could).
Well, now it’s over ! Nico has been kind enough to point out an UbuntuForums script to solve the issue once for all. Here’s the updated script.
Download the following script:
extract the file (it should already be executable, in case of problems check it is in the properties of the file), open a terminal in the directory where you extracted the file and run
sudo ./launchpad-update
The script will fetch every PPA key you need from Launchpad and solve your update errors in one pass ! Should you have added other PPAs afterwards, simply re-run the script.
Note: it works only for Launchpad repositories !
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Del.icio.us Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Del.icio.us](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/delicious.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to digg Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to digg](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/digg.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to reddit Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to reddit](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/reddit.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Technorati Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Technorati](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/technorati.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Ma.gnolia Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Ma.gnolia](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/magnolia.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Stumble Upon Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Stumble Upon](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/stumbleupon.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Blogmarks Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Blogmarks](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/bmarks.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to SlashDot Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to SlashDot](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/slashdot.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to FaceBook Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to FaceBook](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/facebook.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Wikio Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Wikio](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/wikio.png)
![Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Twitter Add 'Fix your NO_PUBKEY PPA’s in a snap (or a script) [HOW TO]' to Twitter](http://www.stefanoforenza.com/blog/wp-content/plugins/social-bookmarking-reloaded/twitter.png)

Thanks
I wrote a similar script to this, but mine is slightly more compact and copes with things like users who have multiple PPAs, you can get it here:
http://bazaar.launchpad.net/~oldman/+junk/launchpad-update/files
Great, many thanks!
I tried to enter in Nico’s blog and I was asked to enter the authorization (???)
Do you know anything about?
Thank you
SantAnna
@SantAnna: Now it works. The website was probably in maintenance.