Public bug reported:

The current (1:0.6) maas packages in focal provide transition to the
MAAS snap.

This is currently done by getting maas from "stable/ubuntu-$release" for the 
default branch (which is currently 2.7).
We want to change this to ensure a consistent behavior, always installing 2.7 
even once a new release becomes the default track.

The attached MP implement this, along with a few fixes/cleanups for the current 
preinst logic.
Specifically, the current package doesn't handle an upgrade from a previous 
version of the transitional package.


[Impact]
* upgrading to focal currently migrates to the stable/ubuntu-20.04 snap, which 
is currently 2.7 but will be 2.8 in the future 

[Testcase]
* Install maas on bionic (either from archive or ppa:maas/2.6)
* Upgrade to focal.
* `snap info maas` shows snap installed from `2.7/stable/ubuntu-20.04`

[Regression potential]
* Regression potential is low, aside from the desired change in behavior 
selecting snap channel the branch prvoides a fix for the case of upgrading the 
transitional package to a newer version.

** Affects: maas (Ubuntu)
     Importance: Undecided
         Status: New

** Merge proposal linked:
   https://code.launchpad.net/~ack/ubuntu/+source/maas/+git/maas/+merge/384013

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1878769

Title:
  [SRU] updates to the maas deb2snap package

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1878769/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to