Keyserver time out failure.

Questions about applications and software
Forum rules
Before you post please read how to get help

Keyserver time out failure.

Postby optimize me on Fri Sep 25, 2009 11:50 am

For the last three or four days, I'm having trouble getting keys for any PPAs I'm adding, and am unable to install software. Ubuntu's keyserver is timing out:
Code: Select all
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6dfbcbae
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 --keyserver keyserver.ubuntu.com --recv-keys 6dfbcbae
gpg: requesting key 6DFBCBAE from hkp server keyserver.ubuntu.com
gpg: keyserver timed out
gpg: keyserver receive failed: keyserver error


Am I doing something wrong, or has anybody else been having problems getting keys from Ubuntu? I've got about 8 PPAs I can't get keys for in my sources.list and it's ticking me right off.

EDIT: To try it another way with the gpg command, I get a different error:
Code: Select all
$ sudo gpg --keyserver keyserver.ubuntu.com --recv 978228591BD3A65C
gpg: WARNING: unsafe ownership on configuration file `/home/zero/.gnupg/gpg.conf'
gpg: keyring `/home/zero/.gnupg/secring.gpg' created
gpg: keyring `/home/zero/.gnupg/pubring.gpg' created
gpg: external program calls are disabled due to unsafe options file permissions
gpg: keyserver communications error: general error
gpg: keyserver receive failed: general error
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm

Linux Mint is funded by ads and donations.
 

Re: Keyserver time out failure.

Postby optimize me on Fri Sep 25, 2009 1:10 pm

I got it to work by switching keyservers, but it still wasn't easy. I'd have to enter the command
Code: Select all
sudo gpg --keyserver subkeys.pgp.net --recv 0123456789ABCDEF
and wait for it to time out. Then if I immediately repeated the command it would go through faster than I could blink my eyes.

Follow it up with
Code: Select all
gpg --export --armor 89ABCDEF | sudo apt-key add -
and all is well.

I would think if Ubuntu is going to force application signing off on to everyone, they should at least make sure their keyserver is up and running.

Pricks.
AMD Phenom II X6 1045T 2.8GHz 8GB DDR3 RAM ATI Radeon HD6970
User avatar
optimize me
Level 5
Level 5
 
Posts: 639
Joined: Wed Jun 03, 2009 5:25 pm


Return to Software & Applications

Who is online

Users browsing this forum: Google [Bot], jimallyn and 25 guests