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.

Possible Duplicate:
How do I fix the GPG error “NO_PUBKEY”?

Ever since installing Ubuntu 11.10, I've been having trouble adding PPAs to my Software Sources. In the past I could add PPAs using the usual "ppa:appName/ppa" syntax in the Software Sources and it would automatically retrieve the key from Launchpad, etc.

Now I have to manually add the key using apt-key, and even this sometimes doesn't work, as in the case of the LibreOffice and Mozilla Stable PPAs. See errors below:

W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 83FBA1751378B444
W: GPG error: http://ppa.launchpad.net oneiric Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1015216E75198A89

Is there a reason why keys do not get automatically retrieved any more? Can I fix this without doing a system reinstall?

share|improve this question

marked as duplicate by jrg Feb 23 '12 at 15:01

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.

    
Do you get the same error when you run sudo add-apt-repository ppa:appName/ppa in the terminal? –  regan Nov 10 '11 at 16:33

2 Answers 2

Embarrassingly, this seems to be an issue regarding my means of connecting to my college Wi-Fi. As my laptop's wireless card is broken, I'm using my Android phone as a Wi-Fi tether, which seems to play havoc with the campus firewall. Browsing, etc. using the usual ports (80, 443, etc.) works, but adding keyservers and SSH'ing, etc. doesn't.

I confirmed this by connecting through 3G instead of Wi-Fi and the keys got automatically retrieved as usual.

Many thanks to those who have commented trying to help.

share|improve this answer
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 83FBA1751378B444
sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 1015216E75198A89
share|improve this answer
2  
Care to elaborate? You shouldn't try to make users trust keys without any comment. ;-) –  htorque Nov 11 '11 at 5:36

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