Univention Bugzilla – Bug 43534
Update to UCS 4.2 fails due to spamassassin
Last modified: 2018-04-16 16:19:14 CEST
Created attachment 8425 [details] updater.log My test update autotest-070-update-4.0-to-4.1-master-s3.cfg fails due to spamassassin: --------------------------------------------------------------------------------- Processing triggers for spamassassin (3.3.2-5.51.201502251241) ... Restarting SpamAssassin Mail Filter Daemon: Can't locate NetAddr/IP.pm in @INC (you may need to install the NetAddr::IP module) (@INC contains: /usr/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/share/perl5/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/share/perl5/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/sbin/spamd line 85. BEGIN failed--compilation aborted at /usr/sbin/spamd line 85. invoke-rc.d: initscript spamassassin, action "restart" failed. dpkg: error processing package spamassassin (--configure): subprocess installed post-installation script returned error exit status 2 ---------------------------------------------------------------------------------
The previous updater.log part is incomplete. It is triggered by the perl update: ------------------------------------------------------------------------------ Setting up perl (5.20.2-3+deb8u6) ... Processing triggers for spamassassin (3.3.2-5.51.201502251241) ... Restarting SpamAssassin Mail Filter Daemon: Can't locate NetAddr/IP.pm in @INC (you may need to install the NetAddr::IP module) (@INC contains: /usr/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl) at /usr/share/perl5/Mail/SpamAssassin/NetSet.pm line 25. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin/NetSet.pm line 25. Compilation failed in require at /usr/share/perl5/Mail/SpamAssassin/Conf.pm line 86. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin/Conf.pm line 86. Compilation failed in require at /usr/share/perl5/Mail/SpamAssassin.pm line 71. BEGIN failed--compilation aborted at /usr/share/perl5/Mail/SpamAssassin.pm line 71. Compilation failed in require at /usr/sbin/spamd line 85. BEGIN failed--compilation aborted at /usr/sbin/spamd line 85. invoke-rc.d: initscript spamassassin, action "restart" failed. dpkg: error processing package spamassassin (--configure): subprocess installed post-installation script returned error exit status 2 Errors were encountered while processing: spamassassin ------------------------------------------------------------------------------
r17192: The UCS 4.2 upgrade fails due to a spamassassin restart while updating perl. Added a Breaks to old spamassassin packages (Bug #43534)
(In reply to Stefan Gohmann from comment #2) > r17192: > The UCS 4.2 upgrade fails due to a spamassassin restart while updating perl. > Added a Breaks to old spamassassin packages (Bug #43534) My tests were successful. I had to build perl with -j 1 otherwise the build failed: build-package-ng -r 4.2-0-0 -P ucs -p perl -j 1 build-package-architecture-ng -r 4.2-0-0 -P ucs -p perl -j 1 Changelog: r76730
OK - update to 4.2 with spamassassin OK - changelog
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".