Problem Ubuntu Upgrade with python2.7-minimal

Aus Wiki
Wechseln zu: Navigation, Suche

Problem:

E: pycompile:240: Requested versions are not installed
dpkg: error processing python2.7-minimal (--configure):
subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
python2.7-minimal
E: Sub-process /usr/bin/dpkg returned an error code (1)

Solution:

The quick fix is to edit /usr/share/python/debpython/version.py manually and change line 26 to

SUPPORTED = [(2, 6), (2, 7)]