found a hint somewhere to change
/var/lib/dpkg/info/spamassassin.postinst
Change
su - $OWNER -c "sa-update --gpghomedir /var/lib/spamassassin/sa-update-keys
\
--import /usr/share/spamassassin/GPG.KEY"
to
su - $OWNER -s /bin/bash -c "sa-update --gpghomedir
/var/lib/spamassassin/sa-update-keys \
--import /usr/share/spamassassin/GPG.KEY"
now it works
dpkg --configure spamassassin
maybe a side effect of new? standard shell /bin/sh -> dash and
incompatible /etc/profile
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1421984
Title:
do-release-upgrade LTS 12.04.5 -> 14.04.1 --- package
spamassassin 3.4.0-1ubuntu2.1 failed to install/upgrade: subprocess
installed post-installation script returned error exit status 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1421984/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs