package python-setuptools 3.3-1ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-setuptools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I can't make apt-get update not only for python-setuptools.
I see error messages related to Python:
Preparing to unpack .../python-
Traceback (most recent call last):
File "/usr/bin/pyclean", line 25, in <module>
import optparse
File "/usr/lib/
from gettext import gettext
File "/usr/lib/
import locale, copy, os, re, struct, sys
File "/usr/lib/
import functools
File "build/
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/pyclean", line 25, in <module>
import optparse
File "/usr/lib/
from gettext import gettext
File "/usr/lib/
import locale, copy, os, re, struct, sys
File "/usr/lib/
import functools
File "build/
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
import optparse
File "/usr/lib/
from gettext import gettext
File "/usr/lib/
import locale, copy, os, re, struct, sys
File "/usr/lib/
import functools
File "build/
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Preparing to unpack .../apport_
Traceback (most recent call last):
File "/usr/bin/pyclean", line 25, in <module>
import optparse
File "/usr/lib/
from gettext import gettext
File "/usr/lib/
import locale, copy, os, re, struct, sys
File "/usr/lib/
import functools
File "build/
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/pyclean", line 25, in <module>
import optparse
File "/usr/lib/
from gettext import gettext
File "/usr/lib/
import locale, copy, os, re, struct, sys
File "/usr/lib/
import functools
File "build/
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: error processing archive /var/cache/
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/
import optparse
File "/usr/lib/
from gettext import gettext
File "/usr/lib/
import locale, copy, os, re, struct, sys
File "/usr/lib/
import functools
File "build/
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: python-setuptools 3.3-1ubuntu2
ProcVersionSign
Uname: Linux 3.13.0-85-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.19
Architecture: amd64
Date: Wed Jun 1 19:21:16 2016
Dependencies: python-
DuplicateSignature: package:
ErrorMessage: subprocess installed pre-removal script returned error exit status 1
InstallationDate: Installed on 2016-02-22 (100 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
PackageArchitec
RelatedPackageV
dpkg 1.17.5ubuntu5.6
apt 1.0.1ubuntu2.14
SourcePackage: python-setuptools
Title: package python-setuptools 3.3-1ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |