Package: python2.7
Version: 2.7.9-3
Severity: important

Hi,

After an upgrade to 2.7.9-3 python didn't start anymore, with this error:
(first occurence of which appeared in the same apt run, as another package
prerm script called to python).

Traceback (most recent call last):
  File "/usr/lib/python2.7/site.py", line 563, in <module>
    main()
  File "/usr/lib/python2.7/site.py", line 545, in main
    known_paths = addusersitepackages(known_paths)
  File "/usr/lib/python2.7/site.py", line 272, in addusersitepackages
    user_site = getusersitepackages()
  File "/usr/lib/python2.7/site.py", line 247, in getusersitepackages
    user_base = getuserbase() # this will also set USER_BASE
  File "/usr/lib/python2.7/site.py", line 237, in getuserbase
    USER_BASE = get_config_var('userbase')
  File "/usr/lib/python2.7/sysconfig.py", line 582, in get_config_var
    return get_config_vars().get(name)
  File "/usr/lib/python2.7/sysconfig.py", line 528, in get_config_vars
    _init_posix(_CONFIG_VARS)
  File "/usr/lib/python2.7/sysconfig.py", line 412, in _init_posix
    from _sysconfigdata import build_time_vars
  File "/usr/lib/python2.7/_sysconfigdata.py", line 6, in <module>
    from _sysconfigdata_nd import *
ImportError: No module named _sysconfigdata_nd

Downgrading to 2.7.9-2 fixed the issue; I looked at package contents and
_sysconfigdata_nd was correctly on the system,

 $ grep _sysconfigdata /var/lib/dpkg/info/*.list
/var/lib/dpkg/info/libpython2.7-minimal:amd64.list:/usr/lib/python2.7/plat-x86_64-linux-gnu/_sysconfigdata_nd.py
/var/lib/dpkg/info/libpython2.7-minimal:amd64.list:/usr/lib/python2.7/_sysconfigdata.py



        Fred


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages python2.7 depends on:
ii  libpython2.7-stdlib  2.7.9-2
ii  mime-support         3.58
ii  python2.7-minimal    2.7.9-2

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.25-7
pn  python2.7-doc  <none>

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to