Package: spamassassin
Version: 3.4.2-1+deb10u2
spamassassin package installation without gpg-agent installed throws an
error:
root@mysys:~# apt-get install spamassassin
[...]
Adding new user `debian-spamd' (UID 116) with group `debian-spamd'
...
Not creating home directory `/var/lib/spamassassin'.
gpg: failed to start agent '/usr/bin/gpg-agent': No such file or
directory
gpg: can't connect to the agent: No such file or directory
gpg: process '/usr/bin/gpg --homedir='/var/lib/spamassassin/sa-
update-keys' --batch --no-tty --status-fd=1 -q --logger-fd=1 --
import' finished: exit 2
dpkg: error processing package spamassassin (--configure):
installed spamassassin package post-installation script subprocess
returned error exit status 2
No such problem if gpg-agent is installed before spamassassin (missing
package dependency?).
--
Regards,
Pawel Boguslawski
IB Development Team
https://dev.ib.pl/