Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

Here is the link, please help me what it means below:

http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C2518248EEA14886

What should I do with the link above

share|improve this question

marked as duplicate by Thomas W., Raja, bodhi.zazen, Mitch, Seth Jul 11 '13 at 21:59

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

General hint: If you include the complete terminal output from the command you used typed into terminal to the command prompt after it fails, that often helps. –  Marc Jul 11 '13 at 16:57

1 Answer 1

Well, firstly you gave a general link to the http://ppa.launchpad.net site as opposed to the specific one I am sure you meant to.

However, easy fix.

When I run into a PPA and I can't get the PUBKEY, I wrote a little something, or borrowed, it, I don't remember, and I even made it an alias to throw it into my .bashrc so I can simply hit a few letters.

Here is the code.

alias pubkey="for i in `sudo aptitude update 2>&1 | grep NO_PUBKEY | awk '{print $NF;}'`; do sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $i; done"

As you can see, it searches for missing pubkeys and then sends off to the keyservers at ubuntu to update your system witht hem. Trust me, run this and you will be alright.

Throw that into your .bashrc, then type source .bashrc and finally pubkey and all your worries are over.

Just make sure you have aptitude installed first, just a quick sudo apt-get install aptitude and you will be fine.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.