package python2.7-minimal:amd64 2.7.12-3build1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2

Bug #1656654 reported by Jalil Salamé
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

It ended up uninstalling other programs when I used 'sudo apt autoremove'; I guess it was my fault on that; I installed (tried to) the Atom IDE and it stopped working in the middle, it told me to use 'sudo apt autoremove', which I used and crashed the packages and then I used 'sudo apt update', all the things that weren't uninstalled seem to be working fine.

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: python2.7-minimal:amd64 2.7.12-3build1
ProcVersionSignature: Ubuntu 4.8.0-34.36-generic 4.8.11
Uname: Linux 4.8.0-34-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.20.3-0ubuntu8.2
Architecture: i386
Date: Sun Jan 15 13:41:20 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 2
InstallationDate: Installed on 2016-11-20 (56 days ago)
InstallationMedia: Lubuntu 16.10 "Yakkety Yak" - Release i386 (20161012.1)
PackageArchitecture: amd64
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.3.3
SourcePackage: python2.7
Title: package python2.7-minimal:amd64 2.7.12-3build1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jalil Salamé (teivel) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

closing this issue, can't reproduce it

Removing python (2.7.11-2) ...
Setting up libpython2.7-minimal:amd64 (2.7.12-3build1) ...
Setting up python2.7-minimal:amd64 (2.7.12-3build1) ...
/usr/bin/python2.7: 1: /usr/bin/python2.7: Syntax error: "(" unexpected
dpkg: error processing package python2.7-minimal:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2

Changed in python2.7 (Ubuntu):
status: New → Invalid
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.