Comment 1 for bug 1916485

Revision history for this message
Florian Lohoff (fl0l0) wrote : Re: apt-key add fails in docker - Fails to run gnupg

Bug also applies to apt 2.2.0

root@72aa01291622:/# dpkg -l apt gnupg
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
+++-==============-===============-============-==========================================
ii apt 2.2.0 amd64 commandline package manager
ii gnupg 2.2.20-1ubuntu2 all GNU privacy guard - a free PGP replacement

root@72aa01291622:/# curl https://syncthing.net/release-key.txt | apt-key add -
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0

100 2462 100 2462 0 0 1969 0 0:00:01 0:00:01 --:--:-- 1969