[Bug 1421984] Re: 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

Michael T. ubuntu-one at tartsch.info
Sat Feb 14 19:03:52 UTC 2015


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
Server Team, which is subscribed to spamassassin in 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



More information about the Ubuntu-server-bugs mailing list