Re: [ubuntu-uk] NO_PUBKEY !!!

2010-04-13 Thread Neil Greenwood
On 13 April 2010 10:36, Cornelius Mostert
 wrote:
>> sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 
>> 9BDB3D89CE49EC21
>
> This is not working...
>
> Executing: gpg --ignore-time-conflict --no-options --no-default-keyring
> --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg
> --keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com
> 9BDB3D89CE49EC21
> gpg: requesting key CE49EC21 from hkp server keyserver.ubuntu.com
> gpgkeys: key 9BDB3D89CE49EC21 not found on keyserver
> gpg: no valid OpenPGP data found.
> gpg: Total number processed: 0
>
> However we are behind a nasty firewall/proxy in this company and I know I
> have a lot of difficulty to get through with some commands that is looking
> to go through to the internet.
> Any other ideas??
> Can I not somehow get this by using a Web browser??
>

There are other options on the apt-key command, but I've never used
them. IIRC, you can import a key from an ASCII file that you've
downloaded. If you go in your browser to the launchpad page for the
PPA that you're having problems with, you can download the key from
there.

Not sure how you find out which PPA has the missing key though :-(

There might also be a way to download the key through port 80 from the
keyserver, but I've also never tried this!



Neil.

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


Re: [ubuntu-uk] NO_PUBKEY !!!

2010-04-13 Thread Cornelius Mostert
> > 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/*'
___

This is not working...

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring
--secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg
--keyring /etc/apt/trusted.gpg --recv-keys --keyserver
keyserver.ubuntu.com9BDB3D89CE49EC21
gpg: requesting key CE49EC21 from hkp server keyserver.ubuntu.com
gpgkeys: key 9BDB3D89CE49EC21 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

However we are behind a nasty firewall/proxy in this company and I know I
have a lot of difficulty to get through with some commands that is looking
to go through to the internet.
Any other ideas??
Can I not somehow get this by using a Web browser??
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] NO_PUBKEY !!!

2010-04-13 Thread Neil Greenwood
On 12 April 2010 16:56, Cornelius Mostert
 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/


Re: [ubuntu-uk] NO_PUBKEY !!!

2010-04-12 Thread Tyler J. Wagner
Do not do that.  That will remove your personal GPG keys, if they exist.

Tyler

On Monday 12 April 2010 17:00:04 Daniel Case wrote:
> Have you tried getting rid of the folder /home/cjm/.gnupg ?
> 
> It should force it to redownload the pubkeys properly.
> 
> ~Daniel
> 
> On Mon, Apr 12, 2010 at 4:56 PM, 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
> > But only get:gpg: WARNING: unsafe ownership on configuration file
> > `/home/cjm/.gnupg/gpg.conf'
> > gpg: external program calls are disabled due to unsafe options file
> > permissions
> > gpg: keyserver communications error: general error
> > gpg: keyserver receive failed: general error
> >
> > If I do it with out the sudo then the error is almost the same:
> > gpg: WARNING: unsafe enclosing directory permissions on configuration
> > file `/home/cjm/.gnupg/gpg.conf'
> > gpg: external program calls are disabled due to unsafe options file
> > permissions
> > gpg: keyserver communications error: general error
> > gpg: keyserver receive failed: general error
> >
> > I have done this also: sudo chown cjm:cjm /home/cjm/.gnupg/*
> >
> > But did not help.
> > Please could you try and tell me how to solve this. My version state:
> > 8.10 Linux Kernel 2.6.27-17-generic, and it is 64 bit
> >
> > thanx
> > --
> > _
> > Cornelius Mostert
> > Senior IT Specialist
> > United Kingdom: 075 2233 4818
> > International: 0044 75 2233 4818
> >
> > --
> > ubuntu-uk@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> > https://wiki.ubuntu.com/UKTeam/
> 
-- 
"Always hold your sales meetings in rooms too small for the audience,
even if it means holding them in the WC. 'Standing room only' creates an
atmosphere of success, as in theatres and restaurants, while a half-empty
auditorium smells of failure."
   -- David Ogilvy, "Ogilvy on Advertising"

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


Re: [ubuntu-uk] NO_PUBKEY !!!

2010-04-12 Thread Daniel Case
Have you tried getting rid of the folder /home/cjm/.gnupg ?

It should force it to redownload the pubkeys properly.

~Daniel

On Mon, Apr 12, 2010 at 4:56 PM, 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
> But only get:gpg: WARNING: unsafe ownership on configuration file
> `/home/cjm/.gnupg/gpg.conf'
> gpg: external program calls are disabled due to unsafe options file
> permissions
> gpg: keyserver communications error: general error
> gpg: keyserver receive failed: general error
>
> If I do it with out the sudo then the error is almost the same:
> gpg: WARNING: unsafe enclosing directory permissions on configuration file
> `/home/cjm/.gnupg/gpg.conf'
> gpg: external program calls are disabled due to unsafe options file
> permissions
> gpg: keyserver communications error: general error
> gpg: keyserver receive failed: general error
>
> I have done this also: sudo chown cjm:cjm /home/cjm/.gnupg/*
>
> But did not help.
> Please could you try and tell me how to solve this. My version state: 8.10
> Linux Kernel 2.6.27-17-generic, and it is 64 bit
>
> thanx
> --
> _
> Cornelius Mostert
> Senior IT Specialist
> United Kingdom: 075 2233 4818
> International: 0044 75 2233 4818
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
>


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