Hi @renanrodrigo, thanks for your response. This all happened a while ago! I think the errors you are seeing relating to dcc are just noise because your system does not have dcc installed whereas mine does. I still have these dcc settings in 24.04 and they work fine: # spamassassin --lint; echo $? 0
I believe the original problem related to the RelayCountry plugin and its related country_db settings: these broke the upgrade even though as you say they should just cause warnings. See https://spamassassin.apache.org/full/4.0.x/doc/Mail_SpamAssassin_Plugin_RelayCountry.txt. For SA 4.0+ (as used in 24.04) the options have changed from country_db_type -> geodb_module and country_db_path -> geodb_options, and are built-ins. For my use cases the defaults are fine and so, unlike previous SA versions, no settings have to be specified under 24.04. Example original settings under 22.04 (possibly slightly different layout to original report, from a different machine): cat /etc/spamassassin/local_v346.pre # RelayCountry - add metadata for Bayes learning, marking the countries # a message was relayed through # # Note: This requires the Geo::IP Perl module # # do not use for SA 4.0 and above, remove whole file once upgrade is complete across system [16 Jun 2024] require_version 3.004006 loadplugin Mail::SpamAssassin::Plugin::RelayCountry cat /etc/spamassassin/local_v346.cf # not needed for SA 4.0 and above, remove whole file once upgrade is complete across system [16 Jun 2024] require_version 3.004006 ifplugin Mail::SpamAssassin::Plugin::RelayCountry country_db_type GeoIP2 country_db_path /usr/share/GeoIP/GeoLite2-Country.mmdb endif For system upgrade from 22.04 to 24.04 my workaround has been to remove these settings just before attempting upgrade: # mv /etc/spamassassin/local_v346.pre /etc/spamassassin/local_v346.pre.old # mv /etc/spamassassin/local_v346.cf /etc/spamassassin/local_v346.cf.old # is this needed? # spamassassin --lint; echo $? 0 # systemctl amavis reload # on my systems SA is run by amavis HTH! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2069505 Title: package sa-compile 4.0.0-8ubuntu5 failed to install/upgrade: installed sa-compile package post-installation script subprocess returned error exit status 2 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/spamassassin/+bug/2069505/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
