- Package:
- spamassassin
- Source:
- spamassassin
- Submitter:
- Stephan Helma
- Date:
- 2021-03-30 11:51:05 UTC
- Severity:
- important
I installed today's security update (3.4.2-1+deb10u3) and got the following error: Setting up spamassassin (3.4.2-1+deb10u3) ... dpkg: error processing package spamassassin (--configure): installed spamassassin package post-installation script subprocess returned err or exit status 1 Errors were encountered while processing: spamassassin E: Sub-process /usr/bin/dpkg returned an error code (1) I am happy to look into the reason, why the post-installation script failed, but how can I display the line number where it fails? Stephan
Control: severity -1 important Downgrading from grave because I've been unable to reproduce it when testing various upgrade scenarios. I suspect a local issue that's not fully handled by the postinst script. Can you post the output of "find /var/lib/spamassassin/ -ls" See also #986034, which is reporting a similar upgrade issue. I'm not merging them yet as it's not clear that the root cause is the same. Note that the postinst script did not change with this package update. noah
Thanks Noah, for looking into this. I attach the output of "find /var/lib/spamassassin/ -ls". All files are owned by debian-spamd:debian-spamd ... Stephan
Hi, the same error here: Running sa-compile (may take a long time) chmod: Beim Setzen der Zugriffsrechte für '/var/lib/spamassassin/compil ed/5.024/3.004002/Mail/SpamAssassin/CompiledRegexps/body_0.pm': Die Ope ration ist nicht erlaubt The prob is that the user debian-spamd can not change the the rights: 112984212 444 -r--r--r-- 1 root root 450878 Mär 28 08:22 /var/lib/spamassas sin/compiled/5.024/3.004002/Mail/SpamAssassin/CompiledRegexps/body_0.pm CU Jörg