Comment 2 for bug 1562840

Revision history for this message
Jon Grimm (jgrimm) wrote :

from DpkgTerminalLog.txt

  File "/usr/bin/pycompile", line 35, in <module>
    from debpython.version import SUPPORTED, debsorted, vrepr, \
  File "/usr/share/python/debpython/version.py", line 24, in <module>
    from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'

----

I'm guessing you've replaced /usr/bin/python with python3, as this is a common traceback when someone has done so. The apt tooling requires /usr/bin/python to be python2.7 (and is by implementation a symlink to the python2.7 binary). Please ensure this is the case on your system (ls -l /usr/bin/python).

I'm marking this as 'Incomplete' to allow time for this verification; but you can move it back to the 'New' state if you've verified that the default python is indeed python2.7 and there is a real bug, otherwise it should be marked as 'Invalid'

Thank you for taking the time to report and investigate this issue.