(sid-amd64)root@rassilon:~# apt install python
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python-minimal python2.7 python2.7-minimal
Suggested packages:
python-doc python-tk python2.7-doc binfmt-support
The following NEW packages will be installed:
libpython-stdlib libpython2.7-minimal libpython2.7-stdlib python python-minimal python2.7 python2.7-minimal
0 upgraded, 7 newly installed, 0 to remove and 18 not upgraded.
Need to get 4103 kB of archives.
After this operation, 16.2 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://127.0.0.1:3142/debian/ sid/main libpython2.7-minimal amd64 2.7.9-3 [379 kB]
Get:2 http://127.0.0.1:3142/debian/ sid/main python2.7-minimal amd64 2.7.9-3 [1406 kB]
Get:3 http://127.0.0.1:3142/debian/ sid/main python-minimal amd64 2.7.9-1 [40.3 kB]
Get:4 http://127.0.0.1:3142/debian/ sid/main libpython2.7-stdlib amd64 2.7.9-3 [1849 kB]
Get:5 http://127.0.0.1:3142/debian/ sid/main python2.7 amd64 2.7.9-3 [258 kB]
Get:6 http://127.0.0.1:3142/debian/ sid/main libpython-stdlib amd64 2.7.9-1 [19.5 kB]
Get:7 http://127.0.0.1:3142/debian/ sid/main python amd64 2.7.9-1 [151 kB]
Fetched 4103 kB in 0s (29.5 MB/s)
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 14737 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.9-3_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.9-3) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.9-3_amd64.deb ...
Unpacking python2.7-minimal (2.7.9-3) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ...
Unpacking python-minimal (2.7.9-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.9-3_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.9-3) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.9-3_amd64.deb ...
Unpacking python2.7 (2.7.9-3) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.9-1) ...
Processing triggers for mime-support (3.58) ...
Setting up libpython2.7-minimal:amd64 (2.7.9-3) ...
Setting up python2.7-minimal (2.7.9-3) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.9-1) ...
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
dpkg: error processing package python-minimal (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)