package spamassassin 3.4.1-7ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
budgie-desktop-environment (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
This happened with a regular upgrade from the previous version.
ProblemType: Package
DistroRelease: Ubuntu 17.10
Package: spamassassin 3.4.1-7ubuntu1
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
Date: Sat Feb 3 08:26:09 2018
DuplicateSignature:
package:
Setting up spamassassin (3.4.1-7ubuntu1) ...
-su: 28: /etc/profile.
dpkg: error processing package spamassassin (--configure):
subprocess installed post-installation script returned error exit status 2
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2014-03-15 (1421 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
PackageArchitec
Python3Details: /usr/bin/python3.6, Python 3.6.3, python3-minimal, 3.6.3-0ubuntu2
PythonDetails: /usr/bin/python2.7, Python 2.7.14, python-minimal, 2.7.14-2ubuntu1
RelatedPackageV
dpkg 1.18.24ubuntu1
apt 1.5.1
SourcePackage: spamassassin
Title: package spamassassin 3.4.1-7ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: Upgraded to artful on 2017-10-23 (103 days ago)
tags: | removed: need-duplicate-check |
Hi Rene,
I think while the spamassasin upgrade fails the reason is in budgie desktop.
From your log: d/10-budgie- desktop. sh: Syntax error: word unexpected (expecting ")")
-su: 28: /etc/profile.
The spamassassin upgrade tries to execute something with a login.
That will source anything in /etc/profile.d/.
Now in your case there seems to be an issue in that file.
You might check if you happen to spot the issue in there.
I have checked which bugdie package this file belongs to and found none.
Is that a custom file - if so what is the source?
In any case this is the reason for your upgrade issue.