snap-store-proxy: override latest/stable not working

Bug #1953079 reported by Kyle Nitzsche
8
This bug affects 1 person
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-store-proxy-2:~# snap-proxy override modem-manager latest/stable=2253
Failed to set override:
Revision 2253 of snap 'modem-manager' is not currently in any channel.
root@snap-store-proxy-2:~# snap-proxy override core18 latest/stable=2253
Failed to set override:
No channel 'latest/stable' for core18

But there is a latest/stable channel for core18:

root@snap-store-proxy-2:~# snap info core18
name: core18
summary: Runtime environment based on Ubuntu 18.04
publisher: Canonical✓
store-url: https://snapcraft.io/core18
license: Other Open Source
description: |
  The base snap based on the Ubuntu 18.04 release.
type: base
snap-id: CSO04Jhav2yK0uz97cr0ipQRyqg0qQL6
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 -

Revision history for this message
Przemysław Suliga (suligap) wrote :

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.

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.