snap run should error nicely when snap isn't installed

Bug #1742677 reported by Alan Pope 🍺🐧🐱 🦄
6
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?

Michael Vogt (mvo)
Changed in snapd:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Michael Vogt (mvo) wrote :
Changed in snapd:
status: Triaged → In Progress
Revision history for this message
Paweł Stołowski (stolowski) wrote :

Back to "confirmed", as the PR wasn't landed after all.

Changed in snapd:
status: In Progress → Confirmed
Changed in snapd:
importance: High → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.