Comment 0 for bug 1681528

Revision history for this message
Brian Murray (brian-murray) wrote :

We are see lots of package installation failures that look like:

package:apport:2.20.3-0ubuntu8
Preparing to unpack .../023-apport_2.20.3-0ubuntu8.2_all.deb ...
  File "/usr/bin/pyclean", line 63
    except (IOError, OSError), e:
                             ^
SyntaxError: invalid syntax

One explanation for this is that pyclean is actually be run by python3 instead of python2.7. To confirm and invalidate reports like this apport should check to see what /usr/bin/python and /usr/bin/python3 are symlinks to or doulbe check the versions of /usr/bin/python and /usr/bin/python3.