Package: python2.7-minimal Version: 2.7-9 Severity: grave Stock experimental system. python2.6 is already installed and working great. Trying to investigate [1], I hope to install python2.7:
# cupt install python2.7 [...] (Reading database ... 118078 files and directories currently installed.) Unpacking python2.7-minimal (from .../python2.7-minimal_2.7-9_i386.deb) ... Setting up python2.7-minimal (2.7-9) ... Traceback (most recent call last): File "/usr/lib/python2.7/site.py", line 552, in <module> main() File "/usr/lib/python2.7/site.py", line 534, in main known_paths = addusersitepackages(known_paths) File "/usr/lib/python2.7/site.py", line 261, in addusersitepackages user_site = getusersitepackages() File "/usr/lib/python2.7/site.py", line 236, in getusersitepackages user_base = getuserbase() # this will also set USER_BASE File "/usr/lib/python2.7/site.py", line 226, in getuserbase USER_BASE = get_config_var('userbase') File "/usr/lib/python2.7/sysconfig.py", line 558, in get_config_var return get_config_vars().get(name) File "/usr/lib/python2.7/sysconfig.py", line 457, in get_config_vars _init_posix(_CONFIG_VARS) File "/usr/lib/python2.7/sysconfig.py", line 310, in _init_posix raise IOError(msg) IOError: invalid Python installation: unable to open /usr/lib/python2.7/config/Makefile (No such file or directory) dpkg: error processing python2.7-minimal (--configure): subprocess installed post-installation script returned error exit status 1 Indeed, there is no /usr/lib/python2.7/config directory. Unpacking python2.7 with an explicit dpkg invocation allows the installation to continue, so all is well. [1] http://bugs.python.org/issue1736483 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org