package gyp 0.1~svn1729-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1484876 reported by Sabih
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
gyp (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Error started coming while installing django.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: gyp 0.1~svn1729-3ubuntu1
ProcVersionSignature: Ubuntu 3.13.0-61.100-generic 3.13.11-ckt22
Uname: Linux 3.13.0-61-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Fri Aug 14 15:23:34 2015
DuplicateSignature: package:gyp:0.1~svn1729-3ubuntu1:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2014-08-14 (364 days ago)
InstallationMedia: Ubuntu 12.04.3 LTS "Precise Pangolin" - Release amd64 (20130820.1)
PackageArchitecture: all
SourcePackage: gyp
Title: package gyp 0.1~svn1729-3ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2015-02-06 (188 days ago)

Revision history for this message
Sabih (sabihkhan05) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in gyp (Ubuntu):
status: New → Confirmed
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and making Ubuntu better.

Based on the duplicates for this bug, this issue is still present in gyp 0.1+20150913git1f374df9-1ubuntu1 on Ubuntu 17.04. I must admit I'm not quite sure, what's causing it, but the underlying issue seems to be this error message from DpkgTerminalLog.txt:

Setting up gyp (0.1~svn1729-3ubuntu1) ...
Traceback (most recent call last):
  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'

tags: added: xenial yakkety zesty
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.