package python-html5lib 0.999-3~ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1529418 reported by OldeFoxx
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
html5lib (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Trying to get python 3.4 set up. Despite posts saying python and pip are part of Ubuntu 14.04, python is 2.7 and pip is absent I tried oio, and was told by apt-get as to what to enter to install it. I entered it, and immediately my install of 14.04 began crashing, keeping me in chrome browser with two tabs opened: The first, to fill out this bug report. The second, the one constantly refreshing every 10 seconds, to report a bug that package python-distlib 0.1.8-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1.

I will get this off, then try a restart and see if 14.04 can recover. Since the package did not install, I don't have the option of removing or purging it. If necessary, I will try autoremove. Otherwise, I may be forced to replace my install of 14.04. Not good choices, and does not say much for the LTS assurance that 14.04 is suppose to have.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python-html5lib 0.999-3~ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-57.77~14.04.1-generic 3.16.7-ckt20
Uname: Linux 3.16.0-57-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Sat Dec 26 17:10:26 2015
Dependencies: python-six 1.5.2-1ubuntu1
DuplicateSignature: package:python-html5lib:0.999-3~ubuntu1:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2015-10-31 (56 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
RelatedPackageVersions:
 dpkg 1.17.5ubuntu5.5
 apt 1.0.1ubuntu2.10
SourcePackage: html5lib
Title: package python-html5lib 0.999-3~ubuntu1 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
OldeFoxx (oldefoxx) wrote :
Revision history for this message
OldeFoxx (oldefoxx) wrote :
Download full text (4.1 KiB)

U decided to try sudo apt-get autoremove first. It went crazy, spilling out several pages of problems encountered. I tried adding >& error.txt, then I tried using | tee 0 as part of the command, but nothing worked to capture the bult of the screen responses to a file. This is all that shows up in the file:

Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up python-colorama (0.2.5-0.1ubuntu2) ...
Setting up python-distlib (0.1.8-1ubuntu1) ...
Setting up python-html5lib (0.999-3~ubuntu1) ...
Setting up python-setuptools (3.3-1ubuntu2) ...
Setting up python-wheel (0.24.0-1~ubuntu1) ...

Now nothing is getting removed, because this came command get the same results on every retry. Having to do a copy&paste of the screen to a file. I maximized the screen and was able to get this much of what was written there. Whoever is weiting your apt-get process is not using stderr to report problems as it goes to the screen regardless of what I try to do to devert it to a file. I've complained of this is an earlier bug report, only to have someone comment that this was in no ways possible, that everything has to wirk with stdin, stdout, and stderr because it depends on a tty device. Bull on that. This should at least make the point otherwise.

ImportError: No module named 'ConfigParser'
dpkg: error processing package python-distlib (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up python-html5lib (0.999-3~ubuntu1) ...
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-html5lib (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up python-setuptools (3.3-1ubuntu2) ...
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'
No apport report written because MaxReports is reached already
                                                              No apport report written because MaxReports is reached already
                                                                                                                            dpkg: error processing package python-setuptools (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-pip:
 python-pip depends on python-colorama; however:
  Package python-colorama is not configured yet.
 python-pip depends on python-distlib; however:
  Package python-distlib is not configured y...

Read more...

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 html5lib (Ubuntu):
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

It shoukd be ok in later ubuntu releases

Changed in html5lib (Ubuntu):
status: Confirmed → Fix Released
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.