[Bug 1587996] Re: package python-setuptools 3.3-1ubuntu2 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 1
Apport retracing service
1587996 at bugs.launchpad.net
Thu Jun 23 16:56:44 UTC 2016
** Tags removed: need-duplicate-check
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-setuptools in Ubuntu.
https://bugs.launchpad.net/bugs/1587996
Title:
package python-setuptools 3.3-1ubuntu2 failed to install/upgrade:
subprocess installed pre-removal script returned error exit status 1
Status in python-setuptools package in Ubuntu:
New
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-samba_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb ...
Traceback (most recent call last):
File "/usr/bin/pyclean", line 25, in <module>
import optparse
File "/usr/lib/python2.7/optparse.py", line 90, in <module>
from gettext import gettext
File "/usr/lib/python2.7/gettext.py", line 49, in <module>
import locale, copy, os, re, struct, sys
File "/usr/lib/python2.7/locale.py", line 19, in <module>
import functools
File "build/bdist.linux-x86_64/egg/functools.py", line 72, in <module>
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/python2.7/optparse.py", line 90, in <module>
from gettext import gettext
File "/usr/lib/python2.7/gettext.py", line 49, in <module>
import locale, copy, os, re, struct, sys
File "/usr/lib/python2.7/locale.py", line 19, in <module>
import functools
File "build/bdist.linux-x86_64/egg/functools.py", line 72, in <module>
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: error processing archive /var/cache/apt/archives/python-samba_2%3a4.3.9+dfsg-0ubuntu0.14.04.3_amd64.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycompile", line 27, in <module>
import optparse
File "/usr/lib/python2.7/optparse.py", line 90, in <module>
from gettext import gettext
File "/usr/lib/python2.7/gettext.py", line 49, in <module>
import locale, copy, os, re, struct, sys
File "/usr/lib/python2.7/locale.py", line 19, in <module>
import functools
File "build/bdist.linux-x86_64/egg/functools.py", line 72, in <module>
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_2.14.1-0ubuntu3.21_all.deb ...
Traceback (most recent call last):
File "/usr/bin/pyclean", line 25, in <module>
import optparse
File "/usr/lib/python2.7/optparse.py", line 90, in <module>
from gettext import gettext
File "/usr/lib/python2.7/gettext.py", line 49, in <module>
import locale, copy, os, re, struct, sys
File "/usr/lib/python2.7/locale.py", line 19, in <module>
import functools
File "build/bdist.linux-x86_64/egg/functools.py", line 72, in <module>
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/python2.7/optparse.py", line 90, in <module>
from gettext import gettext
File "/usr/lib/python2.7/gettext.py", line 49, in <module>
import locale, copy, os, re, struct, sys
File "/usr/lib/python2.7/locale.py", line 19, in <module>
import functools
File "build/bdist.linux-x86_64/egg/functools.py", line 72, in <module>
root = max(roots) # prefer __lt__ to __le__ to __gt__ to __ge__
AttributeError: 'module' object has no attribute 'compose'
dpkg: error processing archive /var/cache/apt/archives/apport_2.14.1-0ubuntu3.21_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Traceback (most recent call last):
File "/usr/bin/pycompile", line 27, in <module>
import optparse
File "/usr/lib/python2.7/optparse.py", line 90, in <module>
from gettext import gettext
File "/usr/lib/python2.7/gettext.py", line 49, in <module>
import locale, copy, os, re, struct, sys
File "/usr/lib/python2.7/locale.py", line 19, in <module>
import functools
File "build/bdist.linux-x86_64/egg/functools.py", line 72, in <module>
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
ProcVersionSignature: Ubuntu 3.13.0-85.129-generic 3.13.11-ckt36
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-pkg-resources 3.3-1ubuntu2
DuplicateSignature: package:python-setuptools:3.3-1ubuntu2:subprocess installed pre-removal script returned error exit status 1
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)
PackageArchitecture: all
RelatedPackageVersions:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-setuptools/+bug/1587996/+subscriptions
More information about the foundations-bugs
mailing list