2018-05-04 08:01:50 |
Michael Vogt |
bug |
|
|
added bug |
2018-05-04 08:02:33 |
Michael Vogt |
nominated for series |
|
Ubuntu Bionic |
|
2018-05-04 08:02:33 |
Michael Vogt |
bug task added |
|
command-not-found (Ubuntu Bionic) |
|
2018-05-04 08:04:31 |
Launchpad Janitor |
branch linked |
|
lp:command-not-found |
|
2018-05-04 08:54:47 |
Michael Vogt |
description |
When the user installs a snap (like slack) but does not have /snap/bin in PATH the message is very confusing:
```
$ sudo snap install slack
...
$ slack
Command 'slack' not found, but can be installed with:
sudo apt install slack
```
The fix is that /snap/bin needs to be considered by c-n-f so that it can say:
```
command 'slack' is available in '/snap/bin/slack'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
slack: command not found
``` |
[Impact]
* Usability of snap recommendations degrated
[Test Case]
1. Remove /snap/bin from PATH
2. snap install corebird
3. run "corebird"
4. observe command-not-found suggesting to install corebird
5. install fixed c-n-f
6. observe that c-n-f suggests to run corebird from /snap/bin
[Regression Potential]
* very low
[ORIGINAL REPORT]
When the user installs a snap (like slack) but does not have /snap/bin in PATH the message is very confusing:
```
$ sudo snap install slack
...
$ slack
Command 'slack' not found, but can be installed with:
sudo apt install slack
```
The fix is that /snap/bin needs to be considered by c-n-f so that it can say:
```
command 'slack' is available in '/snap/bin/slack'
The command could not be located because '/snap/bin' is not included in the PATH environment variable.
slack: command not found
``` |
|
2018-05-07 09:07:00 |
Launchpad Janitor |
command-not-found (Ubuntu): status |
New |
Fix Released |
|
2018-05-14 18:14:59 |
Łukasz Zemczak |
command-not-found (Ubuntu Bionic): status |
New |
Fix Committed |
|
2018-05-14 18:15:01 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-05-14 18:15:02 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2018-05-14 18:15:05 |
Łukasz Zemczak |
tags |
|
verification-needed verification-needed-bionic |
|
2018-06-14 15:22:10 |
Nafallo Bjälevik |
bug |
|
|
added subscriber Nafallo Bjälevik |
2018-06-14 17:08:35 |
Brian Murray |
tags |
verification-needed verification-needed-bionic |
verification-done-bionic verification-needed |
|
2018-06-14 17:08:58 |
Launchpad Janitor |
command-not-found (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-06-14 17:09:01 |
Brian Murray |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-10-14 16:37:54 |
Noah Gorny |
branch unlinked |
lp:command-not-found |
|
|