package python-libxml2 2.9.3+dfsg1-1ubuntu0.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
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-
ProcVersionSign
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)
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SourcePackage: libxml2
Title: package python-libxml2 2.9.3+dfsg1-
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
Setting up python-libxml2 (2.9.3+ dfsg1-1ubuntu0. 3) ... pycompile" , line 35, in <module> python/ debpython/ version. py", line 24, in <module>
Traceback (most recent call last):
File "/usr/bin/
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-libxml2 (--configure):
This doesn't make much sense. python/ debpython/ version. py comes from python-minimal, and ConfigParser is from the standard python lib.
pycompile and /usr/share/
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).