Channel switching (track new channel) does not work if the two channels happen to have identical snap packages
It's not possible today to redirect a snap's channel without there being an actual update available. If I run the following command on a UC16 system that I'd installed network-manager on from candidate or edge, if there's not a newer revision available in the stable channel, the following command will output an error, and not update the network-manager snap so that the next refresh would be done from stable. Perhaps a --force argument would suffice?
$ snap refresh --stable network-manager
We have a use case for this in commercial engineering where a system image was built using candidate, and we were able to partially update it to point stable for all the snaps with available updates. For the few snaps that didn't, we resorted to in-place rebuilds with a version bump.
I'm running the latest core snap, containing snap 2.18.1.
- snap refresh with a channel arg should offer a way to switch the channel
- w/out a snap update being available
+ Channel switching (track new channel) does not work if the two channels
+ happen to have identical snap packages
|Mark Shuttleworth (sabdfl) wrote : Re: [Bug 1650689] Re: snap refresh with a channel arg should offer a way to switch the channel w/out a snap update being available||#2|