[Bug 1752185] [NEW] Formatting of command-not-found with snap addition could use cleanup

David Britton david.britton at canonical.com
Tue Feb 27 22:26:04 UTC 2018


Public bug reported:

Example:

--------------------------------

Bionic:

dpb at bierstadt:~[]$ jq
The program 'jq' can be found:
 + snap 'jq' 
 * deb 'jq'

Xenial:

dpb at helo:~[]$ jq
The program 'jq' is currently not installed. You can install it by typing:
sudo apt install jq

--------------------------------


Some Observations that could use cleaning up:

1) why '+' for one and '*' for the other?

2) Neither of these things printed were as nice as what show up on
xenial, missing what the problem was "program not currently installed",
and the what the solution is.  Perhaps s/can/cannot/?  Still I prefer
the previous reading in c-n-f.

3) Users may not be familiar with what 'deb' is, or what 'snap' is for
that matter.  They are more likely focused on the thing that can help
solve their problem (sudo snap install jq, sudo apt install jq).


ii  command-not-found                          0.3ubuntu18.04.0~pre4                     all          Suggest installation of packages in interactive bash sessions
ii  command-not-found-data                     0.3ubuntu18.04.0~pre4                     amd64        Set of data files for command-not-found.
ii  python3-commandnotfound                    0.3ubuntu18.04.0~pre4                     all          Python 3 bindings for command-not-found.

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/1752185

Title:
  Formatting of command-not-found with snap addition could use cleanup

Status in command-not-found package in Ubuntu:
  New

Bug description:
  Example:

  --------------------------------

  Bionic:

  dpb at bierstadt:~[]$ jq
  The program 'jq' can be found:
   + snap 'jq' 
   * deb 'jq'

  Xenial:

  dpb at helo:~[]$ jq
  The program 'jq' is currently not installed. You can install it by typing:
  sudo apt install jq

  --------------------------------

  
  Some Observations that could use cleaning up:

  1) why '+' for one and '*' for the other?

  2) Neither of these things printed were as nice as what show up on
  xenial, missing what the problem was "program not currently
  installed", and the what the solution is.  Perhaps s/can/cannot/?
  Still I prefer the previous reading in c-n-f.

  3) Users may not be familiar with what 'deb' is, or what 'snap' is for
  that matter.  They are more likely focused on the thing that can help
  solve their problem (sudo snap install jq, sudo apt install jq).

  
  ii  command-not-found                          0.3ubuntu18.04.0~pre4                     all          Suggest installation of packages in interactive bash sessions
  ii  command-not-found-data                     0.3ubuntu18.04.0~pre4                     amd64        Set of data files for command-not-found.
  ii  python3-commandnotfound                    0.3ubuntu18.04.0~pre4                     all          Python 3 bindings for command-not-found.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1752185/+subscriptions



More information about the foundations-bugs mailing list