Comment 2 for bug 1563878

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

Thank you for taking the time to report this bug and helping to make Ubuntu better.

Since it seems likely to me that this is a local configuration problem, rather than a bug in Ubuntu, I'm marking this bug as Incomplete.

I'm guessing that you relinked /usr/bin/python to python3 (or in some way have aliased python)? If so, that's going to break all sorts of things in 14.04 as /usr/bin/python is expected to point to python2 (specifically /usr/bin/python2.7 ).

Relevant portion from DpkgTerminalLog.txt:

....

Traceback (most recent call last):
  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'
dpkg: error processing package python-decorator (--configure):
 le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Paramétrage de python-simplegeneric (0.8.1-1) ...
Traceback (most recent call last):
  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 can cleanly apt-get install python-decorator and python-simplegeneric just fine with /usr/bin/python pointing to python2.7.
I get the errors you are seeing if I point /usr/bin/python to python3

I will mark as 'incomplete', until you verify this hunch, but I'm guessing this is actually invalid.