[Bug 1681528] [NEW] Include information about python versions

Brian Murray brian at ubuntu.com
Mon Apr 10 18:08:59 UTC 2017


Public bug reported:

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.

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
  New

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 doulbe 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



More information about the foundations-bugs mailing list