[ubuntu-uk] NO_PUBKEY !!!
Neil Greenwood
neil.greenwood.lug at gmail.com
Tue Apr 13 09:34:40 BST 2010
On 12 April 2010 16:56, Cornelius Mostert
<corneliusmostert at googlemail.com> wrote:
> Hello all
> I am getting this every time I do an Update from Update Manager
> 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 9BDB3D89CE49EC21
>
> I have tried this: sudo gpg --keyserver keyserver.ubuntu.com --recv-keys
> 9BDB3D89CE49EC21
This will just download the key, but not make Update Manager use it to
verify the downloads. Instead, try the following command:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9BDB3D89CE49EC21
> But only get:gpg: WARNING: unsafe ownership on configuration file
> `/home/cjm/.gnupg/gpg.conf'
>[snip]
> gpg: WARNING: unsafe enclosing directory permissions on configuration file
> `/home/cjm/.gnupg/gpg.conf'
>
> I have done this also: sudo chown cjm:cjm /home/cjm/.gnupg/*
>
It's probably not an ownership problem, so chown won't help.
I think you need to stop other users accessing the .gnupg directory,
so 'chmod 700 /home/cjm/.gnupg' should do the trick. You might need to
change the files inside the directory too: something like 'chmod
--recursive go-rwx /home/cjm/.gnupg/*'
Obviously, don't type the ' quotes on the command line! :-)
HTH
Neil.
More information about the ubuntu-uk
mailing list