The output in Eoan today currently looks like the following:
$ aws
Command 'aws' not found, but can be installed with:
sudo snap install aws-cli # version 1.16.148, or
sudo apt install awscli # version 1.16.113-1
See 'snap info aws-cli' for additional versions.
This seems to be friendly f
This bug was fixed in the package command-not-found - 18.04.0~pre1
---
command-not-found (18.04.0~pre1) bionic; urgency=medium
* New version:
- switch from gdbm to sqlite (smaller files and faster searches)
- will fetch "dists/bionic/*/binary-*/cnf/Commands-* files
onc
The current output (in lp:command-not-found) looks like this:
Mixed snaps/debs:
"""
$ jq
The command 'jq' can be installed as:
snap jq
deb jq (1.5+dfsg-2)
See 'snap info jq' for additional versions.
"""
Single snap:
"""
$ spotify
The command 'spotify' can be installed from the following s
Yeah, we spent a lot of time trying to make the output both compact and
showing command lines. The problem is that once you have more than a few
options, it gets wild and unfriendly as a dump of information after a
typo.
That said, I think we can improve these headings indeed. The output I
see abo
Just copying over my description from Bug #1752185 here for reference:
Bionic:
dpb@bierstadt:~[]$ jq
The program 'jq' can be found:
+ snap 'jq'
* deb 'jq'
Xenial:
dpb@helo:~[]$ jq
The program 'jq' is currently not installed. You can install it by typing:
sudo
I'm also much more fond of the original output (that I mostly wrote)
because it was actionable. When doing the format transition we lost the
intent of the tool. To help novice users install packages that they may
not be familiar with.
--
You received this bug notification because you are a member
I liked that the 'existing' version of command-not-found was explicit
about the action to take:
$ aws
The program 'aws' is currently not installed. You can install it by typing:
sudo apt install awscli
A triple-click followed by middle-click was sufficient to follow the
instructions, and the surr
I think it is an UX regression to go from:
$ sl
The program 'sl' is currently not installed. You can install it by typing:
sudo apt install sl
to (hypothetically):
$ sl
The command 'sl' can be installed as:
snap sl
deb sl
Because in fact neither of those are correct commands to install 'sl' :
** Also affects: command-not-found
Importance: Undecided
Status: New
** Changed in: command-not-found
Status: New => In Progress
** Changed in: command-not-found
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Ubuntu
Bugs,
On 02/21/2018 01:36 PM, Michael Vogt wrote:
> We are working on improving this currently. Right now c-n-f has no
> version concept for the apt backend (easy for snaps). But we have a plan
> how to fix that (some work though).
For the apt version, I thought we would just display the current version
We are working on improving this currently. Right now c-n-f has no
version concept for the apt backend (easy for snaps). But we have a plan
how to fix that (some work though).
** Changed in: command-not-found (Ubuntu)
Importance: Undecided => Critical
** Changed in: command-not-found (Ubuntu)
Perhaps this would be a better format:
$ aws
The command 'aws' can be installed as:
snap aws-cli (1.14.38)
deb awscli (1.14.36-1)
See 'snap info aws-cli' for additional versions.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
12 matches
Mail list logo