package apport 2.19.1-0ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
hi
I am new to ubuntu15.10
the following error I am getting while using the following commands
sudo apt-get update
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 127
/var/lib/
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Preparing to unpack .../apport_
/var/lib/
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 127
Errors were encountered while processing:
/var/cache/
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@silico-
No command 'dpkg:' found, did you mean:
Command 'dpkg' from package 'dpkg' (main)
dpkg:: command not found
root@silico-
No command 'dpkg:' found, did you mean:
Command 'dpkg' from package 'dpkg' (main)
dpkg:: command not found
root@silico-
bash: /var/lib/
root@silico-
bash: syntax error near unexpected token `('
root@silico-
subprocess: command not found
root@silico-
bash: /var/lib/
root@silico-
No command 'dpkg:' found, did you mean:
Command 'dpkg' from package 'dpkg' (main)
dpkg:: command not found
root@silico-
subprocess: command not found
root@silico-
ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: apport 2.19.1-0ubuntu3
ProcVersionSign
Uname: Linux 4.2.0-16-generic i686
ApportVersion: 2.19.1-0ubuntu3
Architecture: i386
Date: Fri Dec 4 18:38:20 2015
DuplicateSignature: package:
ErrorMessage: subprocess new pre-removal script returned error exit status 127
InstallationDate: Installed on 2015-12-03 (1 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release i386 (20151021)
PackageArchitec
RelatedPackageV
dpkg 1.18.2ubuntu5.1
apt 1.0.10.2ubuntu1
SourcePackage: apport
Title: package apport 2.19.1-0ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in apport (Ubuntu): | |
status: | New → Fix Released |
status: | Fix Released → New |
tags: | removed: need-duplicate-check |
It looks like you are missing the python-minimal package which provides the pyclean script. You'll need to reinstall that for these errors to be resolved. You may need to use 'dpkg -i' to install python-minimal after manually downloading it.