Default track not respected in names output for command-not-found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
New
|
Undecided
|
Unassigned |
Bug Description
In order to support command-not-found, snapd queries the store to find out what snaps are available, and with what version. This data doesn't seem to respect default tracks, nor closed channels.
As seen in the maas snap:
$ maas
Command 'maas' not found, but can be installed with:
sudo snap install maas # version 2.3.3-6498-
sudo apt install maas # version 1:0.7
See 'snap info maas' for additional versions.
More specifically, using `snap advise-snap` - https:/
As can be seen in `snap info maas` or on snapcraft.io - https:/
I expect the store, and then snapd to respect the default track, and respond with the "most stable" version in that track for command not found - currently that would be 2.8.2-8577-
tags: | added: default-track names |