snap install with correct name and wrong channel gives misleading error
Bug #1665787 reported by
Mark Shuttleworth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
Fix Released
|
Undecided
|
Unassigned | ||
snapd |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Just saw this:
$ sudo snap install etcd --channel=
error: cannot install "etcd": snap not found
The issue is that there is only a beta snap in that track. While snap 'find' can ignore snaps that don't have a latest/stable release, 'install' should give a more useful error in this case. For example:
$ sudo snap install etcd --channel=
error: no suitably stable build of etcd 3.1 released
Try 'snap info etcd' to see what is available
Changed in snapd: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in snapd: | |
status: | In Progress → Fix Released |
Changed in snapstore: | |
status: | New → Fix Released |
To post a comment you must log in.
To be clear, this is in the case where:
* the snap exists
* the track exists
* there is a release in a less-stable channel
* but no release in the requested stability, or more stable, in that track