This bug was fixed in the package apport - 2.20.6-0ubuntu6 --------------- apport (2.20.6-0ubuntu6) artful; urgency=medium
* data/general-hooks/ubuntu.py: Gather information about the python versions installed on the system as versions not from the Ubuntu archive can cause issues. (LP: #1681528) -- Brian Murray <br...@ubuntu.com> Fri, 18 Aug 2017 11:13:14 -0700 ** Changed in: apport (Ubuntu Artful) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apport in Ubuntu. https://bugs.launchpad.net/bugs/1681528 Title: Include information about python versions Status in apport package in Ubuntu: Fix Released Status in apport source package in Artful: Fix Released Bug description: 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 double check the versions of /usr/bin/python and /usr/bin/python3. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1681528/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp