[Bug 1702319] Re: package apport 2.20.1-0ubuntu2.5 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127
Benjamin Drung
1702319 at bugs.launchpad.net
Wed Nov 9 10:53:24 UTC 2022
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
The relevant apport.prerm code for Ubuntu 16.04:
```
# Automatically added by dh_python2:
if which pyclean >/dev/null 2>&1; then
pyclean -p apport
else
dpkg -L apport | grep \.py$ | while read file
do
rm -f "${file}"[co] >/dev/null
done
fi
```
pyclean should not be called if it is not found. Do you still experience
this issue or can reproduce it?
** Changed in: apport (Ubuntu)
Status: Confirmed => Incomplete
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1702319
Title:
package apport 2.20.1-0ubuntu2.5 failed to install/upgrade: subprocess
installed pre-removal script returned error exit status 127
Status in apport package in Ubuntu:
Incomplete
Bug description:
I tried so many alternatives i didn't found relevant bug to fix it.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: apport 2.20.1-0ubuntu2.5
ProcVersionSignature: Ubuntu 4.8.0-54.57~16.04.1-generic 4.8.17
Uname: Linux 4.8.0-54-generic x86_64
ApportLog:
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CrashReports: 600:0:116:180223:2017-07-04 20:24:38.287366390 +0530:2017-07-04 20:24:39.287366390 +0530:/var/crash/apport.0.crash
Date: Tue Jul 4 20:24:38 2017
DpkgTerminalLog:
Preparing to unpack .../apport_2.20.1-0ubuntu2.4_all.deb ...
/var/lib/dpkg/info/apport.prerm: 19: /var/lib/dpkg/info/apport.prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/apport_2.20.1-0ubuntu2.4_all.deb (--unpack):
subprocess installed pre-removal script returned error exit status 127
DuplicateSignature:
package:apport:2.20.1-0ubuntu2.5
Preparing to unpack .../apport_2.20.1-0ubuntu2.4_all.deb ...
/var/lib/dpkg/info/apport.prerm: 19: /var/lib/dpkg/info/apport.prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/apport_2.20.1-0ubuntu2.4_all.deb (--unpack):
subprocess installed pre-removal script returned error exit status 127
ErrorMessage: subprocess installed pre-removal script returned error exit status 127
InstallationDate: Installed on 2017-03-30 (95 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
PackageArchitecture: all
RelatedPackageVersions:
dpkg 1.18.4ubuntu1.2
apt 1.2.20
SourcePackage: apport
Title: package apport 2.20.1-0ubuntu2.5 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1702319/+subscriptions
More information about the foundations-bugs
mailing list