Improve command-not-found package headers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-defaults (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python2.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python3-defaults (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
python3.8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Improve command-not-found package headers
command-not-found uses package metadata, and to improve the UX of the misspelled commands / proposed packages.
python2.7-minimal should gain XB-Cnf-
python3.8-minimal should gain XB-Cnf-
python2-minimal should gain XB-Cnf-
python3-minimal should gain XB-Cnf-
This will then improve these messages from:
"""
command 'python2.7' from deb python2.7-minimal (2.7.17-1)
command 'python3.8' from deb python3.8-minimal (3.8.0-5)
command 'python2' from deb python2-minimal (2.7.17-2)
command 'python3' from deb python3-minimal (3.7.5-1ubuntu1)
"""
To
"""
command 'python2.7' from deb python2.7 (2.7.17-1)
command 'python3.8' from deb python3.8 (3.8.0-5)
command 'python2' from deb python2 (2.7.17-2)
command 'python3' from deb python3 (3.7.5-1ubuntu1)
"""
python3 should drop
XB-Cnf-
XB-Cnf-
Such that it stops suggesting that somehow python is available from python3 package, which is a lie.
There is a special case for "python" command hint in command-not-found already, which simply points people to "python3".
CVE References
no longer affects: | python3.8 (Ubuntu Focal) |
https:/ /salsa. debian. org/cpython- team/python3- defaults/ -/merge_ requests/ 3