package apport 2.20.1-0ubuntu2.15 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Get it when trying to start terminal.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: apport 2.20.1-0ubuntu2.15
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
NonfreeKernelMo
ApportLog:
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Wed Jul 11 08:32:16 2018
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2017-08-11 (333 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
PackageArchitec
RelatedPackageV
dpkg 1.18.4ubuntu1.3
apt 1.2.24
SourcePackage: apport
Title: package apport 2.20.1-0ubuntu2.15 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
It seems likely you have a custom python path configured which calls a version of pyclean not provided by an official Ubuntu package.
package: apport: 2.20.1- 0ubuntu2. 15 2.20.1- 0ubuntu2. 18_all. deb ...
^
Preparing to unpack .../apport_
File "/usr/bin/pyclean", line 63
except (IOError, OSError), e:
SyntaxError: invalid syntax