Thank you for taking the time to file a bug report. I was not able to reproduce your issue in a clean LXD container running Ubuntu 20.04. Checking the logs I noticed the following:
---- Warning: Fake start-stop-daemon called, doing nothing. /usr/sbin/policy-rc.d returned 101, not running 'start spamassassin.service' invoke-rc.d: policy-rc.d denied execution of start. Setting up sa-compile (3.4.4-1ubuntu1.1) ... Running sa-compile (may take a long time) Warning: Fake start-stop-daemon called, doing nothing. chmod: cannot access '/var/lib/spamassassin/compiled': No such file or directory dpkg: error processing package sa-compile (--configure): installed sa-compile package post-installation script subprocess returned error exit status 1 ---- My first question to you is if you made any change to the policy-rc.d, it is returning 101 which means action forbidden by policy. This is not the default behave I am seeing in my local tests. I am not sure but maybe this might be related to the fact that /var/lib/spamassassin/compiled does not exist. Interestingly, if you check the sa-compile postinst script it runs chmod on this directory only if it exists, I do not know what happened during its installation in your system. Did you manually change anything related to the debian- spamd user and group? Or to the permissions of the mentioned directory? Since there is not enough information in your report to begin triage or to differentiate between a local configuration problem and a bug in Ubuntu, I am marking this bug as "Incomplete". We would be grateful if you would: provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to "New". For local configuration issues, you can find assistance here: http://www.ubuntu.com/support/community ** Changed in: spamassassin (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1936860 Title: package sa-compile 3.4.4-1ubuntu1.1 failed to install/upgrade: installed sa-compile package post-installation script subprocess returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/1936860/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
