Package: debarchiver Version: 0.11.3 Severity: important Tags: patch It seems as if gnupg needs an extra option (--pinentry-mode loopback) to be able to run in batch mode. I discovered this when I upgraded the archive server from stretch to buster.
/jh --- /usr/bin/debarchiver.org 2020-03-20 14:12:17.000000000 +0100 +++ /usr/bin/debarchiver 2020-03-20 14:13:27.000000000 +0100 @@ -1301,7 +1301,7 @@ unlink("$path/Release.gpg"); if ($gpgpassfile) { cmdaction("cat $gpgpassfile | gpg --batch --no-tty -a -b -s -u $gpgkey " . - "--passphrase-fd 0 -o $path/Release.gpg $path/Release", + "--pinentry-mode loopback --passphrase-fd 0 -o $path/Release.gpg $path/Release", "Sign Release file for $path with key '$gpgkey'", 3); } -- System Information: Debian Release: 10.3 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 4.19.0-8-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debarchiver depends on: ii adduser 3.118 ii apt-utils 1.8.2 ii dpkg-dev 1.19.7 ii opalmod 0.2.2 Versions of packages debarchiver recommends: ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-1 ii mailx 1:20071201-3 ii sendmail-bin [mail-transport-agent] 8.15.2-14~deb10u1 Versions of packages debarchiver suggests: ii devscripts 2.19.5+deb10u1 ii gnupg 2.2.19-2~bpo10+1 -- no debconf information