Your message dated Wed, 29 Apr 2015 21:35:04 +0200
with message-id <[email protected]>
and subject line Re: Bug#783738: ImportError: No module named _sysconfigdata_nd
has caused the Debian Bug report #783738,
regarding ImportError: No module named _sysconfigdata_nd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
783738: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783738
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Version: 2.7.9-4

On 04/29/2015 06:41 PM, Frederic Peters wrote:
> Package: python2.7
> Version: 2.7.9-3
> Severity: important

--- End Message ---

Reply via email to