[Bug 1975533] Re: No longer possible to use do-release-upgrade on Groovy

Brian Murray 1975533 at bugs.launchpad.net
Wed Jul 6 15:49:52 UTC 2022


Using the new version of the dist-upgrader I was successfully able to
upgrade from Groovy to Impish.

bdmurray at clean-groovy-amd64:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"
bdmurray at clean-groovy-amd64:~$ head -n20 /var/log/dist-upgrade/main.log 
2022-07-06 08:12:44,568 INFO Using config files '['./DistUpgrade.cfg.groovy', '/etc/update-manager/release-upgrades.d/ubuntu-advantage-upgr
ades.cfg']'
2022-07-06 08:12:44,568 INFO uname information: 'Linux clean-groovy-amd64 5.8.0-63-generic #71-Ubuntu SMP Tue Jul 13 15:59:12 UTC 2021 x86_
64'
2022-07-06 08:12:44,852 INFO apt version: '2.1.10ubuntu0.3'
2022-07-06 08:12:44,852 INFO python version: '3.8.10 (default, Jun  2 2021, 10:49:15) 
[GCC 10.3.0]'
2022-07-06 08:12:44,854 INFO release-upgrader version '21.10.10' started
2022-07-06 08:12:44,858 INFO locale: 'en_US' 'UTF-8'
2022-07-06 08:12:44,941 DEBUG Using 'DistUpgradeViewText' view
2022-07-06 08:12:44,984 DEBUG enable dpkg --force-overwrite
2022-07-06 08:12:45,029 DEBUG creating statefile: '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'
2022-07-06 08:12:47,118 DEBUG lsb-release: 'groovy'
2022-07-06 08:12:47,119 DEBUG _pythonSymlinkCheck run
2022-07-06 08:12:47,124 DEBUG openCache()
2022-07-06 08:12:47,124 DEBUG quirks: running PreCacheOpen
...
bdmurray at clean-groovy-amd64:~$ tail -n10 /var/log/dist-upgrade/main.log
2022-07-06 08:37:51,460 DEBUG 'linux-image-5.8.0-63-generic' scheduled for remove but not safe to remove, skipping
2022-07-06 08:37:52,139 DEBUG skipping running kernel pkg 'linux-headers-5.8.0-63-generic'
2022-07-06 08:37:52,140 DEBUG 'linux-headers-5.8.0-63-generic' scheduled for remove but not safe to remove, skipping
2022-07-06 08:37:53,112 DEBUG Finish checking for obsolete pkgs
2022-07-06 08:37:53,165 DEBUG The following packages are marked for removal: ca-certificates-java libgssapi3-heimdal default-jre-headless l
iblibreoffice-java liborcus-parser-0.15-0 default-jre libedataserverui-1.2-2 libwind0-heimdal libridl-java libldap-2.4-2 libboost-iostreams
1.71.0 realmd libgdk-pixbuf2.0-0 libatk-wrapper-java linux-image-5.8.0-25-generic libpython3.8-minimal vino libraw19 gcc-10-base libjuh-jav
a libheimntlm0-heimdal xul-ext-ubufox libtracker-sparql-2.0-0 libamtk-5-common perl-modules-5.30 libheimbase1-heimdal libpython3.8 python3.
8 linux-modules-extra-5.8.0-25-generic libbrlapi0.7 linux-headers-5.8.0-25 linux-headers-5.8.0-63 libboost-locale1.71.0 libappindicator3-1 
ure-java libhandy-0.0-0 openjdk-11-jre-headless linux-headers-5.8.0-63-generic libisl22 libboost-filesystem1.71.0 libtepl-5-0 lz4 linux-hea
ders-5.8.0-25-generic libtracker-miner-2.0-0 libatk-wrapper-java-jni sssd-dbus adcli libperl5.30 libllvm11 libsnmp35 libboost-date-time1.71
.0 libboost-thread1.71.0 libjurt-java libfwupdplugin1 linux-modules-5.8.0-25-generic python3.8-minimal openjdk-11-jre ubuntu-wallpapers-gro
ovy libhcrypto4-heimdal fonts-dejavu-extra sssd-tools liborcus-0.15-0 mysql-common libmysqlclient21 libphonenumber7 libpython3.8-stdlib lib
tracker-control-2.0-0 libroken18-heimdal libpoppler102 firefox gdbserver libasn1-8-heimdal libkrb5-26-heimdal python3-requests-unixsocket c
pp-10 libcc1-0 libunoloader-java libgdk-pixbuf-xlib-2.0-0 libhx509-5-heimdal libedataserver-1.2-25 java-common gnome-getting-started-docs libamtk-5-0
2022-07-06 08:39:30,204 INFO cache.commit()
2022-07-06 08:40:03,503 DEBUG quirks: running PostCleanup
2022-07-06 08:40:03,503 DEBUG running Quirks.PostCleanup

-- 
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 Committed
Status in ubuntu-release-upgrader source package in Jammy:
  Triaged

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