package python-wrapt 1.8.0-5build2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

Bug #1713614 reported by Mahendra Vala
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-wrapt (Ubuntu)
Expired
Low
Unassigned

Bug Description

package python-wrapt 1.8.0-5build2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-wrapt 1.8.0-5build2
ProcVersionSignature: Ubuntu 4.10.0-33.37~16.04.1-generic 4.10.17
Uname: Linux 4.10.0-33-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Mon Aug 28 18:41:16 2017
DuplicateSignature:
 package:python-wrapt:1.8.0-5build2
 Setting up python-wrapt (1.8.0-5build2) ...
 /var/lib/dpkg/info/python-wrapt.postinst: 6: /var/lib/dpkg/info/python-wrapt.postinst: pycompile: not found
 dpkg: error processing package python-wrapt (--configure):
  subprocess installed post-installation script returned error exit status 127
ErrorMessage: subprocess installed post-installation script returned error exit status 127
InstallationDate: Installed on 2017-07-17 (42 days ago)
InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: python-wrapt
Title: package python-wrapt 1.8.0-5build2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 127
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Mahendra Vala (mahendravala1986) wrote :
tags: removed: need-duplicate-check
Revision history for this message
James Page (james-page) wrote :

Setting up python-wrapt (1.8.0-5build2) ...
/var/lib/dpkg/info/python-wrapt.postinst: 6: /var/lib/dpkg/info/python-wrapt.postinst: pycompile: not found
dpkg: error processing package python-wrapt (--configure):

Revision history for this message
James Page (james-page) wrote :

I've triaged a few of these today; please could you run the following commands and provide the output in this bug report:

  sudo which pycompile

and please edit:

  sudo vi /var/lib/dpkg/info/python-wrapt.postinst

and change

  set -e

to

  set -ex

and then run

  sudo dpkg-reconfigure python-wrapt

the call to pycompile is guarded on it being installed so this is a bit odd.

Changed in python-wrapt (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in python-wrapt (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.