[Bug 1044156] Re: gpg key retrieval gives bogus, confusing error message

Paul Abrahams abrahams at acm.org
Thu Sep 20 17:35:49 UTC 2012


I just tried again, with interesting, different, and puzzling results:

pwa at pwa-K60IJ:~$ gpg --keyserver hkp://subkeys.pgp.net --recv-keys A8AA1FAA3F055C03
gpg: failed to create temporary file `/home/pwa/.gnupg/.#lk0x1021490.pwa-K60IJ.947': Permission denied
gpg: keyblock resource `/home/pwa/.gnupg/secring.gpg': general error
gpg: failed to create temporary file `/home/pwa/.gnupg/.#lk0x10238e0.pwa-K60IJ.947': Permission denied
gpg: keyblock resource `/home/pwa/.gnupg/pubring.gpg': general error
gpg: requesting key 3F055C03 from hkp server subkeys.pgp.net
gpgkeys: HTTP fetch error 6: Couldn't resolve host 'subkeys.pgp.net'
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
pwa at pwa-K60IJ:~$ sudo gpg --keyserver hkp://subkeys.pgp.net --recv-keys A8AA1FAA3F055C03
gpg: requesting key 3F055C03 from hkp server subkeys.pgp.net
gpgkeys: HTTP fetch error 6: Couldn't resolve host 'subkeys.pgp.net'
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
pwa at pwa-K60IJ:~$ ll -d .gnupg
drwx------ 2 root root 4096 Sep  1 19:02 .gnupg/

There's nothing interesting iptables anywhere in /var/log.  The only
entries there have to do with dpkg or dist-upgrade, and they're old.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/1044156

Title:
  gpg key retrieval gives bogus, confusing error message

Status in “gnupg” package in Ubuntu:
  Incomplete

Bug description:
  I attempted to install a key using gpg as follows:

  pwa at pwa-K60IJ:~/Documents$ gpg --keyserver hkp://subkeys.pgp.net --recv-keys A8AA1FAA3F055C03
  gpg: requesting key 3F055C03 from hkp server subkeys.pgp.net
  ?: subkeys.pgp.net: Host not found
  gpgkeys: HTTP fetch error 7: couldn't connect: Success
  gpg: no valid OpenPGP data found.
  gpg: Total number processed: 0

  I don't know why I got this error (I'm not behind a proxy server), but
  that's not the point of my filing this bug report.  Whatever the
  problem is, it's not a case of "host not found".   The host is there
  and I can link to it.  The error message is clearly bogus, and very
  misleading.  It needs to reflect what the problem really is.

  I'm running Kubuntu 12.04. and gpg 1.4.11.  The command cited above
  seems to work for most people, but it doesn't work for me.

  PS - I attempted to file this report under package gpg, but got a
  message that gpg does not exist in ubuntu.  Yet gpg shows up under the
  package name search in the bug reporter.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/1044156/+subscriptions




More information about the foundations-bugs mailing list