View Full Version : [ubuntu] Signature problem in Update Manager

February 21st, 2009, 06:54 PM
Hello there, I was running System Update and I ran into this interesting problem :

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 6AF0E1940624A220

What caused it? Can it be corrected? If so, how?

Thanks a lot for your help.

February 21st, 2009, 06:55 PM
Launchpad and others are starting to sign their repositories and you need the key. Here is one way to import it:

gpg --keyserver keyserver.ubuntu.com --recv 6AF0E1940624A220
gpg --export --armor 6AF0E1940624A220 | sudo apt-key add -
sudo apt-get update

February 21st, 2009, 07:07 PM
Here is what I got :

the8thstar@the8thstar-laptop:~$ sudo gpg --keyserver keyserver.ubuntu.com --recv 6AF0E1940624A220
[sudo] password for the8thstar:
gpg: WARNING: unsafe ownership on configuration file `/home/the8thstar/.gnupg/gpg.conf'
gpg: keyring `/home/the8thstar/.gnupg/secring.gpg' created
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
the8thstar@the8thstar-laptop:~$ gpg --export --armor 6AF0E1940624A220 | sudo apt-key add -
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found.

February 21st, 2009, 07:11 PM
The permissions on your gpg.conf file may be too open. Run this to set the permissions on the file only for yourself:

chmod 600 $HOME/.gnupg/gpg.conf

February 21st, 2009, 07:15 PM
Hmm, no, nothing changed. gpg.conf is empty by the way, apart from this:


February 21st, 2009, 07:27 PM
Perhaps you will have better luck importing the key in the traditional manner. Here is the link to the Launchpad page on how to add the keys:

Read the section: Installing Software from a PPA

February 21st, 2009, 08:21 PM
I don't think I'll try that simply because I don't even know what app is causing the message to show up in the first place.

February 22nd, 2009, 04:52 PM
Use this:
Update your Launchpad PPA repositories and apt keys

By the way, you SHOULD NOT use sudo and gpg as you did, that's why you got that error and that warning.

February 24th, 2009, 10:33 PM
Excellent how-to. It saved my "lists"! Thanks a lot.

February 28th, 2009, 01:38 PM
Oops I posted in the wrong topic, was meant to say thanks in a different thread! The link forger supplied fixed my authentication errors anyways, thanks :).