package spamassassin 3.4.4-1ubuntu1 failed to install/upgrade: installed spamassassin package post-installation script subprocess returned error exit status 127

Bug #1877012 reported by Andy Wylde
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
spamassassin (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Just trying to upgrade from fully patch 18.04 to 20.04

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: spamassassin 3.4.4-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-99.100-generic 4.15.18
Uname: Linux 4.15.0-99-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Tue May 5 19:21:34 2020
DuplicateSignature:
 package:spamassassin:3.4.4-1ubuntu1
 Installing new version of config file /etc/spamassassin/v342.pre ...
 /var/lib/dpkg/info/spamassassin.postinst: 35: /etc/default/spamassassin: loadplugin: not found
 dpkg: error processing package spamassassin (--configure):
  installed spamassassin package post-installation script subprocess returned error exit status 127
ErrorMessage: installed spamassassin package post-installation script subprocess returned error exit status 127
PackageArchitecture: all
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.18rc1, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2
SourcePackage: spamassassin
Title: package spamassassin 3.4.4-1ubuntu1 failed to install/upgrade: installed spamassassin package post-installation script subprocess returned error exit status 127
UpgradeStatus: Upgraded to focal on 2020-05-06 (0 days ago)
mtime.conffile..etc.default.spamassassin: 2019-02-16T21:21:30.685825
mtime.conffile..etc.spamassassin.local.cf: 2019-06-29T17:23:41.491092

Revision history for this message
Andy Wylde (andywylde) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Paride Legovini (paride) wrote :

Hi Andy,

for some reason this line:

loadplugin Mail::SpamAssassin::Plugin::Razor2

ended up in your /etc/default/spamassassin file, but it doesn't belong to it. Remove the line and you'll see it will work -- or at least not fail in the same way :)

As I'm pretty sure this is a local configuration problem I'm marking this report as Invalid. You are encouraged to change its status back to New or file a new bug report should you not agree with my conclusion.

Changed in spamassassin (Ubuntu):
status: New → Invalid
Revision history for this message
Andy Wylde (andywylde) wrote :

Your diagnosis is correct. I have no idea how that got in there but thank you. The matter is resolved.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.