On 12 April 2010 16:56, Cornelius Mostert
<corneliusmost...@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.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/

Reply via email to