package python2.7 2.7.15~rc1-1ubuntu0.1 failed to install/upgrade: installed python2.7 package post-installation script subprocess returned error exit status 127

Bug #1804444 reported by Pastor J T
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I uninstalled python2.7 using apt purge python-minimal and later installed it again

ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: python2.7 2.7.15~rc1-1ubuntu0.1
ProcVersionSignature: Ubuntu 4.15.0-39.42-generic 4.15.18
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Wed Nov 21 09:19:33 2018
ErrorMessage: installed python2.7 package post-installation script subprocess returned error exit status 127
InstallationDate: Installed on 2017-05-04 (566 days ago)
InstallationMedia: Ubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Python3Details: /usr/bin/python3.6, Python 3.6.7, python3-minimal, 3.6.7-1~18.04
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2.1
 apt 1.6.6
SourcePackage: python2.7
Title: package python2.7 2.7.15~rc1-1ubuntu0.1 failed to install/upgrade: installed python2.7 package post-installation script subprocess returned error exit status 127
UpgradeStatus: Upgraded to bionic on 2018-10-02 (50 days ago)

Revision history for this message
Pastor J T (pastorjtros) wrote :
Revision history for this message
Rolf Leggewie (r0lf) wrote :

from DpkgTerminalLog.txt:

Setting up python2.7 (2.7.15~rc1-1ubuntu0.1) ...
/var/lib/dpkg/info/python2.7.postinst: 9: /var/lib/dpkg/info/python2.7.postinst: /usr/bin/python2.7: not found
dpkg: error processing package python2.7 (--configure):
 installed python2.7 package post-installation script subprocess returned error exit status 127

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python2.7 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.