Public bug reported:

Binary package hint: apt

When gpg is called as the result of a call on apt-key, it gives a
misleading message if the key cannot be found by the keyserver.  The
following transcript illustrates this:

pwa@pwa-K60IJ:~$ sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 
A8A515F046D7E7CF
[sudo] password for pwa: 
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 --primary-keyring /etc/apt/trusted.gpg 
--recv-keys --keyserver keyserver.ubuntu.com A8A515F046D7E7CF
gpg: requesting key 46D7E7CF from hkp server keyserver.ubuntu.com
?: keyserver.ubuntu.com: Host not found
gpgkeys: HTTP fetch error 7: couldn't connect: Success
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

In fact the host keyserver.ubuntu.com is perfectly reachable, but it
can't locate the requested key.  The error message should reflect that
situation.

I'm running Kubuntu 10.10.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  gpg gives bogus, misleading error message

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to