dstat should use Python 2
Bug #1171089 reported by
Syohei Yoshida
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dstat (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
dstat does not work with Python3. So it should use Python 2.
But shebang of dstat is '#!/usr/bin/env python', dstat may use Python3,
if user use python3 as default or install python3 to /usr/local/bin.
I think shabang of dstat should be fixed to '/usr/bin/python2' or '/usr/bin/
Related branches
To post a comment you must log in.
you should never change python to python3, thats can break a lot of things.
though packaged programs should indeed use the /usr/bin/python shebang with only a few exceptions
a rebuild against a newer dh_python2 should fix the issue