Also as seen in bug 1682934 python versions in /usr/local/bin can also negatively affect package installations and removals. Apport should also check for these.
** Description changed: 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: - ^ + 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 + symlinks to or double check the versions of /usr/bin/python and /usr/bin/python3. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1681528 Title: Include information about python versions To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1681528/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs