snap run should error nicely when snap isn't installed

Bug #1742677 reported by Alan Pope 🍺🐧🐱 🦄 on 2018-01-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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) on 2018-01-15
Changed in snapd:
status: New → Triaged
importance: Undecided → High
Michael Vogt (mvo) wrote :
Changed in snapd:
status: Triaged → In Progress
Paweł Stołowski (stolowski) wrote :

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

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

Other bug subscribers