[Pkg-gnupg-maint] Bug#708534: /usr/bin/gpg: cannot specify --keyserver after --recv-key

Michal Suchanek michal.suchanek at ruk.cuni.cz
Thu May 16 13:37:55 UTC 2013

Package: gnupg
Version: 1.4.12-7
Severity: wishlist
File: /usr/bin/gpg


the downloading of keys is somewhat needlessly challenging as gpg does
not allow changing the order of options:

 apt-key adv --recv-key 697B014A --keyserver keyserver.ubuntu.com
 Executing: gpg --ignore-time-conflict --no-options --no-default-keyring
 --secret-keyring /tmp/tmp.FdxQWOiQYh --trustdb-name
 /etc/apt//trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring
 /etc/apt/trusted.gpg --keyring
 /etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg --keyring
 /etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg --keyring
 /etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg --keyring
 /etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg --keyring
 /etc/apt/trusted.gpg.d//pkg-mozilla-archive-keyring.gpg --recv-key
 697B014A --keyserver keyserver.ubuntu.com
 gpg: "--keyserver" not a key ID: skipping
 gpg: "keyserver.ubuntu.com" not a key ID: skipping
 gpg: no keyserver known (use option --keyserver)
 gpg: keyserver receive failed: bad URI

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (910, 'testing'), (900, 'stable'), (610, 'oldstable'), (410, 'unstable'), (200, 'experimental'), (150, 'precise-updates'), (150, 'precise-security'), (150, 'precise')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnupg depends on:
ii  dpkg          1.16.10
ii  gpgv          1.4.12-7
ii  install-info  4.13a.dfsg.1-10
ii  libbz2-1.0    1.0.6-4
ii  libc6         2.17-2
ii  libreadline6  6.2+dfsg-0.1
ii  libusb-0.1-4  2:0.1.12-23+nmu1
ii  zlib1g        1:1.2.7.dfsg-13

Versions of packages gnupg recommends:
pn  gnupg-curl     <none>
ii  libldap-2.4-2  2.4.31-1+nmu2

Versions of packages gnupg suggests:
pn  gnupg-doc     <none>
ii  imagemagick   8:
ii  libpcsclite1  1.8.8-2

-- no debconf information

More information about the Pkg-gnupg-maint mailing list