I just tested this in a clean precise chroot. keys.gnupg.net seems to be set a the default key server without any user input needed.
$ gpg --search-keys D53FDCB1 gpg: searching for "D53FDCB1" from hkp server keys.gnupg.net (1) Andrew Starr-Bochicchio <[email protected]> Andrew Starr-Bochicchio <[email protected]> Andrew Starr-Bochicchio <[email protected]> 4096 bit RSA key D53FDCB1, created: 2010-09-24 Keys 1-1 of 1 for "D53FDCB1". Enter number(s), N)ext, or Q)uit > 1 gpg: requesting key D53FDCB1 from hkp server keys.gnupg.net gpg: key D53FDCB1: public key "Andrew Starr-Bochicchio <[email protected]>" imported gpg: no ultimately trusted keys found gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) $ gpg --send-keys D53FDCB1 gpg: sending key D53FDCB1 to hkp server keys.gnupg.net Can anyone reproduce this? ** Changed in: ubuntu-packaging-guide Status: Triaged => Incomplete -- You received this bug notification because you are a member of Ubuntu Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide. https://bugs.launchpad.net/bugs/841075 Title: Explain how to trouble-shoot gpg --sendkeys (no default keyserver) Status in Ubuntu Packaging Guide: Incomplete Bug description: On this page: http://developer.ubuntu.com/packaging/html/getting-set- up.html - part of the setup instructions are incorrect or outdated. The section on setting up your GPG key includes details on how to send your public key to the keyserver, using the command: gpg --send-keys <KEY ID> This does not work, and causes the following error: gpg: no keyserver known (use option --keyserver) gpg: keyserver send failed: bad URI After speaking with sagaci on #ubuntu @ freenode IRC, I was given the correct instruction, which works perfectly. It is: gpg --send-keys --keyserver keyserver.ubuntu.com <KEY ID HERE> Could you please update the Packaging setup guide to reflect this information, so that others following it may not fall into the same pit I did :) Thank you. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/841075/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-packaging-guide-team Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-packaging-guide-team More help : https://help.launchpad.net/ListHelp

