Include information about python versions
Bug #1681528 reported by
Brian Murray
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Artful |
Fix Released
|
High
|
Brian Murray |
Bug Description
We are see lots of package installation failures that look like:
package:
Preparing to unpack .../023-
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.
Related branches
Changed in apport (Ubuntu): | |
assignee: | nobody → Brian Murray (brian-murray) |
milestone: | none → ubuntu-17.05 |
tags: | added: rls-aa-incoming |
Changed in apport (Ubuntu): | |
milestone: | ubuntu-17.05 → ubuntu-17.06 |
Changed in apport (Ubuntu): | |
milestone: | ubuntu-17.06 → ubuntu-17.07 |
Changed in apport (Ubuntu): | |
importance: | Undecided → High |
tags: | removed: rls-aa-incoming |
Changed in apport (Ubuntu Artful): | |
milestone: | ubuntu-17.07 → ubuntu-17.08 |
Changed in apport (Ubuntu Artful): | |
status: | New → In Progress |
tags: | added: id-59668fbcb9edb050ebe5b008 |
To post a comment you must log in.
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.