Strange Error - No Pubkey

Derek Broughton derek at pointerstop.ca
Sun Aug 9 18:41:24 UTC 2009


NoOp wrote:

> On 08/09/2009 08:52 AM, David Fox wrote:
>> On Sun, Aug 9, 2009 at 6:49 AM, Allen Prunty<allen at alprunty.com> wrote:

>>> I have never got this one before...
>>>
>>> W: GPG error: http://ppa.launchpad.net jaunty Release: The following
>>> signatures couldn't be verified because the public key is not available:
>>> NO_PUBKEY EF4186FE247510BE

If you _have_ used this ppa before, it may mean that you're behind a 
firewall that's blocking the gpg key lookups (happens to me at work), but 
see below [1].

>> 
>> $ gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys EF4186FE247510BE
>> 
>> $ gpg --export --armor EF4186FE247510BE >key.asc
>> 
>> $ cat key.asc | sudo apt-key add -
>> 
>> Yes, I should have been able to combine steps 2 and 3 into one step
>> (useless use of cat(1)) but for some reason, doing it in one setp hung
>> my shell. Also, using the http://keyserver.ubuntu.com url hung my
>> shell.

Depending how you tried it, probably a limitation of "sudo".  Sometimes 
redirection doesn't work through sudo.

Try:
$ sudo touch /tmp/test
$ sudo echo "this" >/tmp/test
bash: /tmp/test: Permission denied

> 
> You only need to do:
> 
> sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE

I swear there are more ways to do this than is normal even for Linux :-)
>> 
>> One thing, that key's expiration date (as shown in gpg --list-keys)
>> has expired (2009-02-05), You probably should point your apt sources
>> list to a better specific location if you really want to be getting
>> the daily builds for Mozilla, and get (if one is available) a more up
>> to date key.

[1] That would probably explain why the error in the first place...
-- 
derek






More information about the ubuntu-users mailing list