# /usr/lib/command-not-found python3.7

Command 'python3.7' not found, did you mean:

  command 'python2.7' from deb python2.7 (2.7.18-1~20.04)
  command 'python3.8' from deb python3.8 (3.8.5-1~20.04)
  command 'python3.9' from deb python3.9 (3.9.0~rc1-1~20.04)

Try: apt install <deb name>


On focal, correctly shows that python3.8 is installable / available by 
installing python3.8 package (despite the /usr/bin/python3.8 shipped in 
python3.8-minimal package).

Thus cnf metadata of python3.8 3.8.5-1~20.04 is now correct.

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to python3-defaults in
Ubuntu.
https://bugs.launchpad.net/bugs/1867157

Title:
  Improve command-not-found package headers

Status in python-defaults package in Ubuntu:
  Fix Released
Status in python2.7 package in Ubuntu:
  Fix Released
Status in python3-defaults package in Ubuntu:
  Fix Released
Status in python3.8 package in Ubuntu:
  Fix Released
Status in python3.8 source package in Focal:
  Fix Committed

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-Visible-Pkgname: python2.7

  python3.8-minimal should gain XB-Cnf-Visible-Pkgname: python3.8

  python2-minimal should gain XB-Cnf-Visible-Pkgname: python2

  python3-minimal should gain XB-Cnf-Visible-Pkgname: python3

  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-Extra-Commands: python
  XB-Cnf-Priority-Bonus: 5

  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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1867157/+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

Reply via email to