Ubuntu GPG error: http://ppa.launchpad.net

If you come across this error after running aptitude update

W: GPG error: http://ppa.launchpad.net intrepid Release: The following signatures couldn't be verified because the public key is not available:
W: You may want to run apt-get update to correct these problems

due to a missing GPG key do the following to correct the problem

gpg --keyserver subkeys.pgp.net --recv 7D2C7A23BF810CD5

Replace the key number “7D2C7A23BF810CD5” with the one included in your error message

gpg --export --armor 7D2C7A23BF810CD5 | sudo apt-key add -

After that, the key will be added to a list and the error will not reappear.

32 thoughts on “Ubuntu GPG error: http://ppa.launchpad.net

  1. Pingback: Linux PUB Key error « Fellixombc's Official Blog!

  2. Pingback: Linux PUB Key error « Fellixombc's Official Blog!

  3. Philipp

    Thx a lot!

    For me, the following worked (adopted from Tomasz above, with 2 sudo less):

    sudo apt-get update 2> /tmp/keymissing 1> /dev/null; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "nProcessing key: $key"; gpg --keyserver subkeys.pgp.net --recv $key && gpg --export --armor $key | sudo apt-key add -; done; rm /tmp/keymissing

    Other keyservers to try, if keyserver.ubuntu.com or subkeys.pgp.net are offline:

    keyserver hkp://subkeys.pgp.net
    keyserver hkp://pgp.mit.edu
    keyserver hkp://pool.sks-keyservers.net (random server)
    keyserver hkp://keys.nayr.net
    keyserver http://keys.gnupg.net
    keyserver http://wwwkeys.xx.pgp.net where xx is a two-letter country code.

    (from Launchpad )

  4. Pingback: Ubuntu GPG error: http://ppa.launchpad.net : Linux T&T

  5. cp

    Yes, thanks!!

    Although it was anti-climactic to finally fix this annoyance, and after typing the last command all it says is “OK”. 🙂

  6. Pingback: Gentoo Blog » Upgrade Debian Etch to Debian Lenny

  7. Matthew Bugno

    Thank you for your effort with this. Major irritation solved. I humble myself before you. I have copied your solution for reference.

    Vielen Dank für Ihre Mühe mit diesem. Major Reizung gelöst. Ich mich bescheiden, bevor Sie. Ich habe kopiert Ihre Lösung für die Bezugnahme ..

  8. Tomasz W. Koz?owski

    You might also try the following code (as published at forum.ubuntu.pl):

    sudo apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed "s/.*NO_PUBKEY //"); do echo -e "nProcessing key: $key"; sudo gpg --keyserver subkeys.pgp.net --recv $key && sudo gpg --export --armor $key | sudo apt-key add -; done

  9. derblitz

    Bei mir war es der Key:

    W: GPG error: http://ppa.launchpad.net intrepid Release: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY 60D11217247D1CFF

    Wie oben beschrieben vorgrangen:

    gpg –keyserver subkeys.pgp.net –recv 60D11217247D1CFF

    gpg –export –armor 60D11217247D1CFF | sudo apt-key add –

    Nun klappt es wieder.
    Danke für die Anleitung.

  10. Oddin

    gpg –keyserver subkeys.pgp.net –recv 778978B00F7992B0
    gpg: requesting key 0F7992B0 from hkp server subkeys.pgp.net
    gpg: waiting for lock (held by 6153 – probably dead) …
    gpg: waiting for lock (held by 6153 – probably dead) …
    gpg: Interrupt caught … exiting

    Who is dead?


Leave a Reply to Glen Cancel reply

Your email address will not be published. Required fields are marked *