[Bug 1975533] Re: No longer possible to use do-release-upgrade on Groovy
Launchpad Bug Tracker
1975533 at bugs.launchpad.net
Wed Jul 13 15:02:29 UTC 2022
This bug was fixed in the package ubuntu-release-upgrader - 1:21.10.10
---------------
ubuntu-release-upgrader (1:21.10.10) impish; urgency=medium
* Ship a DistUpgrade.cfg.groovy and demoted.cfg.groovy to allow upgrades
from Groovy to Impish to be allowed. (LP: #1975533)
* Run pre-build.sh: updating mirrors, demotions, and translations.
-- Brian Murray <brian at ubuntu.com> Mon, 27 Jun 2022 15:47:00 -0700
** Changed in: ubuntu-release-upgrader (Ubuntu Impish)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1975533
Title:
No longer possible to use do-release-upgrade on Groovy
Status in ubuntu-release-upgrader package in Ubuntu:
Invalid
Status in ubuntu-release-upgrader source package in Impish:
Fix Released
Status in ubuntu-release-upgrader source package in Jammy:
In Progress
Bug description:
Impact
------
It is not possible for users still running Ubuntu 20.10, an end of life release, to upgrade to a supported release of Ubuntu.
Test Case
---------
On an Ubuntu 20.10 run `do-release-upgrade` and observe an error message about "an upgrade from Groovy to Impish is not supported".
With the version of ubuntu-release-upgrader from -proposed (accessible
by running `do-release-upgrade -p`) the upgrade will be supported and
complete successfully.
Regression Potential
--------------------
Its possible that the upgrade process could fail and users will be left with a broken system instead of an insecure one. However, we'll test upgrading a standard install of Ubuntu desktop to ensure the process works.
SRU Note
--------
This'll also need fixing in Jammy so people still running Groovy could upgrade to it when Impish reaches its EoL, however that isn't really testable yet so will be fixed in Jammy later.
Original Description
--------------------
I tried running `do-release-upgrade` on an Ubuntu 20.10 (Groovy Gorilla) system and received an error message from dist-upgrader tarball that an upgrade from Groovy to Impish is not supported. This is because DistUpgrade.cfg (distributed by the tarball) contains `From=Hirsute` and `To=Impish`.
A minimal fix for this would be to create a DistUpgrade.cfg.groovy and
ensure `From=Groovy`. You'd want to look at the contents of
DistUpgrade.cfg and DistUpgrade.cfg.focal to sort out what
DistUpgrade.cfg.groovy should contain. We might also want to create a
new demoted.cfg file but the demoted.cfg.focal file might capture
everything that was demoted. (For what its worth I tested an upgrade
of a stock Ubuntu 20.10 system to Ubuntu 21.10 by copying
DistUpgrade.cfg.focal to DistUpgrade.cfg.groovy and did not run into
any issues.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1975533/+subscriptions
More information about the foundations-bugs
mailing list