package python-urllib3 1.7.1-1ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127

Bug #1512787 reported by itack
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python-urllib3 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

problem updating in general

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python-urllib3 1.7.1-1ubuntu3
ProcVersionSignature: Ubuntu 3.16.0-51.69~14.04.1-generic 3.16.7-ckt17
Uname: Linux 3.16.0-51-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.15
Architecture: amd64
Date: Tue Nov 3 15:09:05 2015
DpkgHistoryLog:
 Start-Date: 2015-11-03 15:08:55
 Commandline: aptdaemon role='role-commit-packages' sender=':1.90'
 Upgrade: python-urllib3:amd64 (1.7.1-1ubuntu3, 1.7.1-1ubuntu4), libvte-2.90-9:amd64 (0.34.9-1ubuntu1, 0.34.9-1ubuntu2), gir1.2-vte-2.90:amd64 (0.34.9-1ubuntu1, 0.34.9-1ubuntu2), shotwell-common:amd64 (0.18.0-0ubuntu4.3, 0.18.0-0ubuntu4.4), shotwell:amd64 (0.18.0-0ubuntu4.3, 0.18.0-0ubuntu4.4), libvte-2.90-common:amd64 (0.34.9-1ubuntu1, 0.34.9-1ubuntu2), libmtp9:amd64 (1.1.6-20-g1b9f164-1ubuntu2, 1.1.6-20-g1b9f164-1ubuntu2.1), unzip:amd64 (6.0-9ubuntu1.3, 6.0-9ubuntu1.4), apport:amd64 (2.14.1-0ubuntu3.15, 2.14.1-0ubuntu3.18), libmtp-common:amd64 (1.1.6-20-g1b9f164-1ubuntu2, 1.1.6-20-g1b9f164-1ubuntu2.1), linux-firmware:amd64 (1.127.15, 1.127.16), libmtp-runtime:amd64 (1.1.6-20-g1b9f164-1ubuntu2, 1.1.6-20-g1b9f164-1ubuntu2.1), ntpdate:amd64 (4.2.6.p5+dfsg-3ubuntu2.14.04.3, 4.2.6.p5+dfsg-3ubuntu2.14.04.5)
DuplicateSignature: package:python-urllib3:1.7.1-1ubuntu3:subprocess new pre-removal script returned error exit status 127
ErrorMessage: subprocess new pre-removal script returned error exit status 127
InstallationDate: Installed on 2015-05-06 (181 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.4
 apt 1.0.1ubuntu2.10
SourcePackage: python-urllib3
Title: package python-urllib3 1.7.1-1ubuntu3 failed to install/upgrade: subprocess new pre-removal script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
itack (itack) wrote :
Revision history for this message
Robie Basak (racb) wrote :

From log:

Preparing to unpack .../apport_2.14.1-0ubuntu3.18_all.deb ...
apport stop/waiting
/var/lib/dpkg/info/apport.prerm: 14: /var/lib/dpkg/info/apport.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 14: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/apport_2.14.1-0ubuntu3.18_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/apport.postinst: 13: /var/lib/dpkg/info/apport.postinst: pycompile: not found
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 127
Preparing to unpack .../python-urllib3_1.7.1-1ubuntu4_all.deb ...
/var/lib/dpkg/info/python-urllib3.prerm: 6: /var/lib/dpkg/info/python-urllib3.prerm: pyclean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: pyclean: not found
dpkg: error processing archive /var/cache/apt/archives/python-urllib3_1.7.1-1ubuntu4_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 127

Revision history for this message
Robie Basak (racb) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

If indeed this is a local configuration problem, you can find pointers to get help for this sort of problem here: http://www.ubuntu.com/support/community

Or if you believe that this is really a bug, then you may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem, explain why you believe this is a bug in Ubuntu rather than a problem specific to your system, and then change the bug status back to New.

Changed in python-urllib3 (Ubuntu):
status: New → Incomplete
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for python-urllib3 (Ubuntu) because there has been no activity for 60 days.]

Changed in python-urllib3 (Ubuntu):
status: Incomplete → Expired
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.