[ubuntu-za] Ubuntu keyserver problems

Morgan Collett morgan at ubuntu.com
Thu May 21 20:24:26 BST 2009


On Thu, May 21, 2009 at 20:46, David Robert Lewis
<ethnopunk at telkomsa.net> wrote:
> Hi there,
>
> I'm having a bit of trouble getting hold of the following key. is there
> something I'm not doing? Is it a bandwidth issue, no local mirror for
> ubuntu key server?
> thanks
> -D
>
> afrodeity at afrodeity-desktop:~$ sudo apt-key adv --recv-keys --keyserver
> keyserver.ubuntu.com gpg --keyserver keyserver.ubuntu.com --recv
> 0C713DA6 && gpg --export -a 0C713DA6 | sudo apt-key add
> [sudo] password for afrodeity:
> 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 gpg --keyserver keyserver.ubuntu.com
> --recv 0C713DA6
> gpg: "gpg" not a key ID: skipping
> gpg: "--keyserver" not a key ID: skipping
> gpg: "keyserver.ubuntu.com" not a key ID: skipping
> gpg: "--recv" not a key ID: skipping
> gpg: requesting key 0C713DA6 from hkp server keyserver.ubuntu.com
> gpg: keyserver timed out
> gpg: keyserver receive failed: keyserver error
> afrodeity at afrodeity-desktop:~$

I think you have pasted more than one command into the command line,
although there might still be a timeout occurring.

See https://help.launchpad.net/Packaging/PPA#Adding%20the%20keys%20in%20the%20terminal
- I think your command should have been just:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0C713DA6

Note that the above will only work in jaunty - hardy and intrepid do
not have "apt-key adv" support so you must download the key into a
file and then pipe it into apt-key - which I think was the second part
of your command:

gpg --keyserver keyserver.ubuntu.com --recv 0C713DA6 && gpg --export
-a 0C713DA6 | sudo apt-key add

Hope that helps.
Morgan



More information about the ubuntu-za mailing list