[Bug 1157687] Re: Upgrade to raring fails in prerm

Launchpad Bug Tracker 1157687 at bugs.launchpad.net
Sat Apr 6 21:00:29 UTC 2013


This bug was fixed in the package python2.7 - 2.7.4-1ubuntu1

---------------
python2.7 (2.7.4-1ubuntu1) raring; urgency=low

  * Merge with Debian; remaining changes:
    - Build-depend on python:any instead of python.

python2.7 (2.7.4-1) experimental; urgency=low

  * Python 2.7.4 release.
    - Issue #17550: Fix the --enable-profiling configure switch.
    - Issue #15801 (again): With string % formatting, relax the type check
      for a mapping such that any type with a __getitem__ can be used on the
      right hand side.
    - Issue #17625: In IDLE, close the replace dialog after it is used.
    - Issue #17531: Fix tests that thought group and user ids were always
      the int type. Also, always allow -1 as a valid group and user id.
    - Issue 17538: Document XML vulnerabilties
  * Byte-compile files in libpython2.7-dbg.
  * libpython2.7-minimal: Break earlier python2.7-minimal versions.
    Closes: #704084. LP: #1157687.
  * Call python with -E -S for the byte compilation.
 -- Matthias Klose <doko at ubuntu.com>   Sat, 06 Apr 2013 17:45:49 +0200

** Changed in: python2.7 (Ubuntu)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1157687

Title:
  Upgrade to raring fails in prerm

Status in Virtualenv: library isolated for Python:
  New
Status in “python2.7” package in Ubuntu:
  Fix Released
Status in “python2.7” package in Debian:
  New

Bug description:
  During an upgrade to raring (from quantal), the prerm script tries to
  use things that are not defined.  There are broken Dependencies in the
  package.

  ----

  Preparing to replace python-novaclient 1:2.9.0-0ubuntu1 (using .../python-novaclient_1%3a2.11.1-0ubuntu1_all.deb) ...
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 562, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 544, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 236, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 548, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 475, in get_config_vars
      import re
    File "/usr/lib/python2.7/re.py", line 105, in <module>
      import sre_compile
    File "/usr/lib/python2.7/sre_compile.py", line 14, in <module>
      import sre_parse
    File "/usr/lib/python2.7/sre_parse.py", line 17, in <module>
      from sre_constants import *
    File "/usr/lib/python2.7/sre_constants.py", line 18, in <module>
      from _sre import MAXREPEAT
  ImportError: cannot import name MAXREPEAT
  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/lib/python2.7/site.py", line 562, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 544, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 236, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 548, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 475, in get_config_vars
      import re
    File "/usr/lib/python2.7/re.py", line 105, in <module>
      import sre_compile
    File "/usr/lib/python2.7/sre_compile.py", line 14, in <module>
      import sre_parse
    File "/usr/lib/python2.7/sre_parse.py", line 17, in <module>
      from sre_constants import *
    File "/usr/lib/python2.7/sre_constants.py", line 18, in <module>
      from _sre import MAXREPEAT
  ImportError: cannot import name MAXREPEAT
  dpkg: error processing /var/cache/apt/archives/python-novaclient_1%3a2.11.1-0ubuntu1_all.deb (--unpack):
   subprocess new pre-removal script returned error exit status 1
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site.py", line 562, in <module>
      main()
    File "/usr/lib/python2.7/site.py", line 544, in main
      known_paths = addusersitepackages(known_paths)
    File "/usr/lib/python2.7/site.py", line 271, in addusersitepackages
      user_site = getusersitepackages()
    File "/usr/lib/python2.7/site.py", line 246, in getusersitepackages
      user_base = getuserbase() # this will also set USER_BASE
    File "/usr/lib/python2.7/site.py", line 236, in getuserbase
      USER_BASE = get_config_var('userbase')
    File "/usr/lib/python2.7/sysconfig.py", line 548, in get_config_var
      return get_config_vars().get(name)
    File "/usr/lib/python2.7/sysconfig.py", line 475, in get_config_vars
      import re
    File "/usr/lib/python2.7/re.py", line 105, in <module>
      import sre_compile
    File "/usr/lib/python2.7/sre_compile.py", line 14, in <module>
      import sre_parse
    File "/usr/lib/python2.7/sre_parse.py", line 17, in <module>
      from sre_constants import *
    File "/usr/lib/python2.7/sre_constants.py", line 18, in <module>
      from _sre import MAXREPEAT
  ImportError: cannot import name MAXREPEAT
  dpkg: error while cleaning up:
   subprocess installed post-installation script returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/virtualenv/+bug/1157687/+subscriptions




More information about the foundations-bugs mailing list