snap run should error nicely when snap isn't installed
Bug #1742677 reported by
Alan Pope 🍺🐧🐱 🦄
This bug report is a duplicate of:
Bug #1648478: 'snap run --shell snap.hello-world.env' tries to read /snap/snap/current.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapd |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I don't have the gimp installed on this computer, but thought I did.
alan@hal:~$ snap run gimp
error: cannot find current revision for snap gimp: readlink /snap/gimp/current: no such file or directory
Contrast this with what happens if I don't have the deb (or snap) installed and run via the traditional method.
alan@hal:~$ gimp
The program 'gimp' is currently not installed. You can install it by typing:
sudo apt install gimp
Perhaps "snap run" could error more nicely than it does?
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in snapd: | |
importance: | High → Medium |
To post a comment you must log in.
I followed up in https:/ /github. com/snapcore/ snapd/pull/ 4486