Bug#830696: apt-key requires gnupg or gnupg2 in apt=1.3~pre2
Package: apt
Version: 1.3~pre2
Severity: important
Dear Maintainer,
* What led up to the situation?
After upgrading to apt 1.3~pre2, the apt-key does not work. It complains gnupg or gnupg2 not found.
This is especially when running in a bootstrap environment that gnupg or gnupg2 is not installed.
* What exactly did you do (or not do) that was effective (or ineffective)?
steven@debian-TU:~$ apt-key list
Error: gnupg or gnupg2 do not seem to be installed,
Error: but apt-key requires gnupg or gnupg2 for this operation.
steven@debian-TU:~$ dpkg-query -W -f='${binary:Package} ${Version}\n' apt
apt 1.3~pre2
steven@debian-TU:~$ dpkg -l gnupg gnupg2
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-========================-=================-=================-======================================================
un gnupg <none> <none> (no description available)
un gnupg2 <none> <none> (no description available)
* What outcome did you expect instead?
Apt should depend on gnupg or gnupg2.
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (no /etc/apt/preferences.d/* present) --
-- (/etc/apt/sources.list present, but not submitted) --
-- (/etc/apt/sources.list.d/dnjl-main-repository.list present, but not submitted) --
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.6.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.115
ii debian-archive-keyring 2014.3
ii gpgv 1.4.20-6
ii init-system-helpers 1.37
ii libapt-pkg5.0 1.3~pre2
ii libc6 2.23-1
ii libgcc1 1:6.1.1-9
ii libstdc++6 6.1.1-9
Versions of packages apt recommends:
pn gnupg | gnupg2 <none>
Versions of packages apt suggests:
pn apt-doc <none>
pn aptitude | synaptic | wajig <none>
ii dpkg-dev 1.18.9
ii powermgmt-base 1.31+nmu1
pn python-apt <none>
-- no debconf information
Reply to: