snap-store-proxy: override latest/stable not working
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snap Store Server |
New
|
Undecided
|
Unassigned |
Bug Description
I can't seem to set an override for a snap in the global store to latest/stable channel:
root@snap-
Failed to set override:
Revision 2253 of snap 'modem-manager' is not currently in any channel.
root@snap-
Failed to set override:
No channel 'latest/stable' for core18
But there is a latest/stable channel for core18:
root@snap-
name: core18
summary: Runtime environment based on Ubuntu 18.04
publisher: Canonical✓
store-url: https:/
license: Other Open Source
description: |
The base snap based on the Ubuntu 18.04 release.
type: base
snap-id: CSO04Jhav2yK0uz
channels:
latest/stable: 20211028 2021-11-21 (2253) 58MB -
latest/candidate: 20211123 2021-12-02 (2279) 58MB -
latest/beta: 20211123 2021-11-24 (2279) 58MB -
latest/edge: 20211123 2021-11-23 (2279) 58MB -
Thanks for the report.
The override logic isn't correctly recognizing default track (latest) channels when the track is passed in explicitly.
A simple workaround is to omit "latest/" when specifying "latest" track channels.