** Description changed: + [ Impact ] + + LTS users are supposed to upgrade only when a new LTS is available, thus + skipping interim releases for greater stability. For other LTSes the + `/etc/update-manager/release-upgrades` file correctly defines + `Prompt=lts`, but on Resolute Racoon we have `Prompt=normal`, what + allows upgrading into the next interim release. The proposed fix makes + RR behave as any previous LTS release of Ubuntu. + + [ Test Plan ] + + * Set up a LXD container from Ubuntu 26.04 LTS. + * Confirm that the existing `/etc/update-manager/release-upgrades` file sets `Prompt=normal` + * Try triggering an upgrade (but do not allow it to proceed). It should succeed in finding the in-development interim release or fail with an error message that doesn't mention LTS. For example: + + ``` + root@u1:~# sudo do-release-upgrade -d + Checking for a new Ubuntu release + Could not find the release announcement + The server may be overloaded. + ``` + + * Install ubuntu-release-upgrader-core from resolute-proposed + * Confirm that `/etc/update-manager/release-upgrades` now sets `Prompt=lts` + * Try triggering an upgrade. The error message should mention the unavailability of an LTS release in development. + + ``` + root@u1:~# sudo do-release-upgrade -d + Checking for a new Ubuntu release + There is no development version of an LTS available. + To upgrade to the latest non-LTS development release + set Prompt=normal in /etc/update-manager/release-upgrades. + ``` + + [ Where problems could occur ] + + Failing to set the correct policy for an LTS system either risks the + capacity to upgrade the users's systems (if set to a wrong value like + `never`) or their stability (if allowed to upgrade to interim releases, + as it's the case for RR as of now). + + [ Other Info ] + I've seen a number of fresh installed instances of Resolute in which the `Prompt` value in the `release-upgrades` is set to `normal` instead of `lts` (desktop, LXD containers, WSL). I suspect we missed a step to update the matching file in the `ubuntu-release-upgrader` source package. - - [WIP]
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154602 Title: [SRU] release-upgrades Prompt should be lts for Resolute Racoon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2154602/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
