package python-libxml2 2.9.3+dfsg1-1ubuntu0.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1718095 reported by frank shi
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libxml2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I don't know

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: python-libxml2 2.9.3+dfsg1-1ubuntu0.3
ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79
Uname: Linux 4.4.0-93-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Tue Sep 19 11:55:43 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2017-05-21 (121 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: libxml2
Title: package python-libxml2 2.9.3+dfsg1-1ubuntu0.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
frank shi (frankshi) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Setting up python-libxml2 (2.9.3+dfsg1-1ubuntu0.3) ...
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'
dpkg: error processing package python-libxml2 (--configure):

This doesn't make much sense.
pycompile and /usr/share/python/debpython/version.py comes from python-minimal, and ConfigParser is from the standard python lib.
Do you have some manual python installation somewhere that is taking over the system python?
Could you try to run
    python -c 'from ConfigParser import SafeConfigParser'
and see whether you get any error? (it shouldn't print nor do anything, just return).

Changed in libxml2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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