Comment 4 for bug 1748581

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 1748581] Re: ubuntu-release-upgrader will need to know how to switch snaps between Ubuntu release channels during an upgrade

On Tue, Aug 21, 2018 at 07:33:56PM -0000, Stéphane Graber wrote:
> In the case where a snap is already installed, the upgrader should check
> what track and channel is in use for the snap, then attempt to switch to
> an "ubuntu-XX.XX" branch of that track/channel combination if it exists,
> if it doesn't, assume the user knows what they're doing and leave them
> alone.

Indeed, I'd go a step further and say that the channel should only be
switched if the user is already currently on a /ubuntu-XX.YY branch where
XX.YY is the Ubuntu release installed prior to the upgrade.