Activity log for bug #1848829

Date Who What changed Old value New value Message
2019-10-19 03:12:31 Kent Frazier bug added bug
2019-10-19 08:15:55 Launchpad Janitor ubuntu-release-upgrader (Ubuntu): status New Confirmed
2019-10-20 10:32:51 Arun Chandanaveli bug added subscriber Arun Chandanaveli
2019-10-21 20:10:47 Brian Murray summary upgrade from 19.04 to 19.10 fails upgrade from 19.04 to 19.10 fails due to issues with distro-info
2019-10-22 06:49:15 Ikuya Awashiro bug added subscriber Ikuya Awashiro
2019-10-25 21:55:11 Brian Murray summary upgrade from 19.04 to 19.10 fails due to issues with distro-info upgrade from 19.04 to 19.10 fails due pip install of distro-info
2019-10-25 22:07:45 Brian Murray summary upgrade from 19.04 to 19.10 fails due pip install of distro-info upgrade from 19.04 to 19.10 failed due pip install of distro-info
2019-10-25 22:11:18 Brian Murray ubuntu-release-upgrader (Ubuntu): status Confirmed Incomplete
2019-12-25 04:17:33 Launchpad Janitor ubuntu-release-upgrader (Ubuntu): status Incomplete Expired
2020-04-24 20:27:27 Brian Murray ubuntu-release-upgrader (Ubuntu): status Expired Triaged
2020-04-24 20:27:33 Brian Murray ubuntu-release-upgrader (Ubuntu): importance Undecided Low
2020-04-24 20:32:16 Brian Murray summary upgrade from 19.04 to 19.10 failed due pip install of distro-info distribution upgrade failed due pip install of distro-info
2020-11-03 21:37:12 Brian Murray tags amd64 apport-bug disco dist-upgrade third-party-packages amd64 apport-bug disco dist-upgrade rls-gg-incoming third-party-packages
2020-11-05 16:21:51 Matthieu Clemenceau tags amd64 apport-bug disco dist-upgrade rls-gg-incoming third-party-packages amd64 apport-bug disco dist-upgrade fr-899 rls-gg-incoming third-party-packages
2020-11-05 17:44:07 Brian Murray tags amd64 apport-bug disco dist-upgrade fr-899 rls-gg-incoming third-party-packages amd64 apport-bug disco dist-upgrade fr-899 third-party-packages
2020-11-05 17:44:31 Brian Murray nominated for series Ubuntu Hirsute
2020-11-05 17:44:31 Brian Murray bug task added ubuntu-release-upgrader (Ubuntu Hirsute)
2020-11-16 23:09:14 Launchpad Janitor ubuntu-release-upgrader (Ubuntu Hirsute): status Triaged Fix Released
2020-11-17 00:50:21 Brian Murray nominated for series Ubuntu Groovy
2020-11-17 00:50:21 Brian Murray bug task added ubuntu-release-upgrader (Ubuntu Groovy)
2020-11-17 00:50:21 Brian Murray nominated for series Ubuntu Focal
2020-11-17 00:50:21 Brian Murray bug task added ubuntu-release-upgrader (Ubuntu Focal)
2020-11-17 00:50:36 Brian Murray ubuntu-release-upgrader (Ubuntu Groovy): assignee Brian Murray (brian-murray)
2020-11-17 00:50:39 Brian Murray ubuntu-release-upgrader (Ubuntu Focal): assignee Brian Murray (brian-murray)
2020-11-17 00:50:44 Brian Murray ubuntu-release-upgrader (Ubuntu Focal): status New In Progress
2020-11-17 00:50:48 Brian Murray ubuntu-release-upgrader (Ubuntu Groovy): status New In Progress
2020-11-17 22:34:54 Brian Murray description sudo update-manager -d [sudo] password for frazier: (update-manager:30033): Gtk-WARNING **: 20:09:59.851: Theme parsing error: gtk.css:7:26: The style property GtkRange:slider-width is deprecated and shouldn't be used anymore. It will be removed in a future version (update-manager:30033): Gtk-WARNING **: 20:09:59.851: Theme parsing error: gtk.css:8:26: The style property GtkRange:stepper-size is deprecated and shouldn't be used anymore. It will be removed in a future version (update-manager:30033): Gtk-WARNING **: 20:09:59.851: Theme parsing error: gtk.css:45:6: Expected a valid selector Checking for a new Ubuntu release /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcher.py:23: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded. from gi.repository import Gtk, Gdk (do-release-upgrade:2867): Gtk-WARNING **: 20:10:25.756: Theme parsing error: gtk.css:7:26: The style property GtkRange:slider-width is deprecated and shouldn't be used anymore. It will be removed in a future version (do-release-upgrade:2867): Gtk-WARNING **: 20:10:25.756: Theme parsing error: gtk.css:8:26: The style property GtkRange:stepper-size is deprecated and shouldn't be used anymore. It will be removed in a future version (do-release-upgrade:2867): Gtk-WARNING **: 20:10:25.756: Theme parsing error: gtk.css:45:6: Expected a valid selector /usr/lib/python3/dist-packages/DistUpgrade/ReleaseNotesViewerWebkit.py:33: PyGIWarning: WebKit2 was imported without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure that the right version gets loaded. from gi.repository import WebKit2 as WebKit (WebKitWebProcess:2883): Gtk-WARNING **: 20:10:25.886: Theme parsing error: gtk.css:45:6: Expected a valid selector authenticate 'eoan.tar.gz' against 'eoan.tar.gz.gpg' extracting 'eoan.tar.gz' (eoan:2867): Gtk-WARNING **: 20:10:31.210: Theme parsing error: gtk.css:7:26: The style property GtkRange:slider-width is deprecated and shouldn't be used anymore. It will be removed in a future version (eoan:2867): Gtk-WARNING **: 20:10:31.210: Theme parsing error: gtk.css:8:26: The style property GtkRange:stepper-size is deprecated and shouldn't be used anymore. It will be removed in a future version (eoan:2867): Gtk-WARNING **: 20:10:31.210: Theme parsing error: gtk.css:45:6: Expected a valid selector Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module> sys.exit(main()) File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main if app.run(): File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade if not self.doPostInitialUpdate(): File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate self.quirks.run("PostInitialUpdate") File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run func() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate self._calculateSnapSizeRequirements() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements self._prepare_snap_replacement_data() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing self.write(f) File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write block = f.read(1048576) File "/usr/lib/python3.7/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte Original exception was: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module> sys.exit(main()) File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main if app.run(): File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run return self.fullUpgrade() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade if not self.doPostInitialUpdate(): File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate self.quirks.run("PostInitialUpdate") File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run func() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate self._calculateSnapSizeRequirements() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements self._prepare_snap_replacement_data() File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: ubuntu-release-upgrader-core 1:19.04.16.7 ProcVersionSignature: Ubuntu 5.0.0-32.34-generic 5.0.21 Uname: Linux 5.0.0-32-generic x86_64 ApportVersion: 2.20.10-0ubuntu27.1 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: Unity:Unity7:ubuntu Date: Fri Oct 18 20:06:04 2019 InstallationDate: Installed on 2018-05-07 (529 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to disco on 2019-10-19 (0 days ago) VarLogDistupgradeAptlog: Log time: 2019-10-18 20:02:43.946172 Log time: 2019-10-18 20:02:52.524168 VarLogDistupgradeTermlog: [Impact] Users with a python pip installation of distro-info are not able to upgrade from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS because the pip version of distro-info does not contain information which the Ubuntu version of the package does. More generally, locally installed python packages can interfere with the release upgrade process due to how the process is started. [Test Case] The pip version of distro-info which is available Ubuntu 20.04 LTS does not have this problem or is not installable as the distro-info package is a greater version, so this isn't testable there however a regression test should be fine. 1) on an Ubuntu 18.04 LTS system install pip 2) pip install distro-info 3) Run do-release-upgrade 4) Observe a crash with a Traceback re distro-info and get_all With the versin of the release-upgrader from -proposed you will not experience such a crash. [Regression Potential] The change is to start python3 with "-s" which will not add the user side directorty to sys.path. This is a safe change but we should still ensure that upgrades succesfully complete to the next release of Ubuntu. Which should also check and ensure that all packages and snaps are updated. Original Description -------------------- sudo update-manager -d [sudo] password for frazier: (eoan:2867): Gtk-WARNING **: 20:10:31.210: Theme parsing error: gtk.css:45:6: Expected a valid selector Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data     di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module>     sys.exit(main())   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main     if app.run():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run     return self.fullUpgrade()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade     if not self.doPostInitialUpdate():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate     self.quirks.run("PostInitialUpdate")   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run     func()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate     self._calculateSnapSizeRequirements()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements     self._prepare_snap_replacement_data()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data     (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' Error in sys.excepthook: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing     self.write(f)   File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write     block = f.read(1048576)   File "/usr/lib/python3.7/codecs.py", line 322, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte Original exception was: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data     di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module>     sys.exit(main())   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main     if app.run():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run     return self.fullUpgrade()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade     if not self.doPostInitialUpdate():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate     self.quirks.run("PostInitialUpdate")   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run     func()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate     self._calculateSnapSizeRequirements()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements     self._prepare_snap_replacement_data()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data     (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' ProblemType: BugDistroRelease: Ubuntu 19.04 Package: ubuntu-release-upgrader-core 1:19.04.16.7 ProcVersionSignature: Ubuntu 5.0.0-32.34-generic 5.0.21 Uname: Linux 5.0.0-32-generic x86_64 ApportVersion: 2.20.10-0ubuntu27.1 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: Unity:Unity7:ubuntu Date: Fri Oct 18 20:06:04 2019 InstallationDate: Installed on 2018-05-07 (529 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) PackageArchitecture: allSourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to disco on 2019-10-19 (0 days ago) VarLogDistupgradeAptlog:  Log time: 2019-10-18 20:02:43.946172  Log time: 2019-10-18 20:02:52.524168 VarLogDistupgradeTermlog:
2020-11-17 22:44:02 Brian Murray description [Impact] Users with a python pip installation of distro-info are not able to upgrade from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS because the pip version of distro-info does not contain information which the Ubuntu version of the package does. More generally, locally installed python packages can interfere with the release upgrade process due to how the process is started. [Test Case] The pip version of distro-info which is available Ubuntu 20.04 LTS does not have this problem or is not installable as the distro-info package is a greater version, so this isn't testable there however a regression test should be fine. 1) on an Ubuntu 18.04 LTS system install pip 2) pip install distro-info 3) Run do-release-upgrade 4) Observe a crash with a Traceback re distro-info and get_all With the versin of the release-upgrader from -proposed you will not experience such a crash. [Regression Potential] The change is to start python3 with "-s" which will not add the user side directorty to sys.path. This is a safe change but we should still ensure that upgrades succesfully complete to the next release of Ubuntu. Which should also check and ensure that all packages and snaps are updated. Original Description -------------------- sudo update-manager -d [sudo] password for frazier: (eoan:2867): Gtk-WARNING **: 20:10:31.210: Theme parsing error: gtk.css:45:6: Expected a valid selector Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data     di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module>     sys.exit(main())   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main     if app.run():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run     return self.fullUpgrade()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade     if not self.doPostInitialUpdate():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate     self.quirks.run("PostInitialUpdate")   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run     func()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate     self._calculateSnapSizeRequirements()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements     self._prepare_snap_replacement_data()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data     (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' Error in sys.excepthook: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing     self.write(f)   File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write     block = f.read(1048576)   File "/usr/lib/python3.7/codecs.py", line 322, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte Original exception was: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data     di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module>     sys.exit(main())   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main     if app.run():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run     return self.fullUpgrade()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade     if not self.doPostInitialUpdate():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate     self.quirks.run("PostInitialUpdate")   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run     func()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate     self._calculateSnapSizeRequirements()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements     self._prepare_snap_replacement_data()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data     (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' ProblemType: BugDistroRelease: Ubuntu 19.04 Package: ubuntu-release-upgrader-core 1:19.04.16.7 ProcVersionSignature: Ubuntu 5.0.0-32.34-generic 5.0.21 Uname: Linux 5.0.0-32-generic x86_64 ApportVersion: 2.20.10-0ubuntu27.1 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: Unity:Unity7:ubuntu Date: Fri Oct 18 20:06:04 2019 InstallationDate: Installed on 2018-05-07 (529 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) PackageArchitecture: allSourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to disco on 2019-10-19 (0 days ago) VarLogDistupgradeAptlog:  Log time: 2019-10-18 20:02:43.946172  Log time: 2019-10-18 20:02:52.524168 VarLogDistupgradeTermlog: [Impact] Users with a python pip installation of distro-info are not able to upgrade from Ubuntu 18.04 LTS to Ubuntu 20.04 LTS because the pip version of distro-info does not contain information which the Ubuntu version of the package does. More generally, locally installed python packages can interfere with the release upgrade process due to how the process is started. [Test Case] The pip version of distro-info which is available Ubuntu 20.04 LTS is not installable as the distro-info package is a greater version, however one can workaround this by manually removing python3-distro-info (sudo dpkg -r --force-depends python3-distro-info), pip3 install distro-info, and then reinstalling python3-distro-info. 1) on an Ubuntu 18.04 LTS system install pip 2) pip install distro-info 3) Run do-release-upgrade 4) Observe a crash with a Traceback re distro-info and get_all With the version of the release-upgrader from -proposed you will not experience such a crash. [Regression Potential] The change is to start python3 with "-s" which will not add the user side directorty to sys.path. This is a safe change but we should still ensure that upgrades succesfully complete to the next release of Ubuntu. Which should also check and ensure that all packages and snaps are updated. Original Description -------------------- sudo update-manager -d [sudo] password for frazier: (eoan:2867): Gtk-WARNING **: 20:10:31.210: Theme parsing error: gtk.css:45:6: Expected a valid selector Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data     di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module>     sys.exit(main())   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main     if app.run():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run     return self.fullUpgrade()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade     if not self.doPostInitialUpdate():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate     self.quirks.run("PostInitialUpdate")   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run     func()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate     self._calculateSnapSizeRequirements()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements     self._prepare_snap_replacement_data()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data     (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' Error in sys.excepthook: Traceback (most recent call last):   File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing     self.write(f)   File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write     block = f.read(1048576)   File "/usr/lib/python3.7/codecs.py", line 322, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte Original exception was: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 802, in _prepare_snap_replacement_data     di.version('%s' % self.controller.fromDist).split()[0] AttributeError: 'UbuntuDistroInfo' object has no attribute 'version' During handling of the above exception, another exception occurred: Traceback (most recent call last):   File "/tmp/ubuntu-release-upgrader-aue69nj7/eoan", line 8, in <module>     sys.exit(main())   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeMain.py", line 238, in main     if app.run():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 2084, in run     return self.fullUpgrade()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 1921, in fullUpgrade     if not self.doPostInitialUpdate():   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeController.py", line 927, in doPostInitialUpdate     self.quirks.run("PostInitialUpdate")   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 97, in run     func()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 129, in eoanPostInitialUpdate     self._calculateSnapSizeRequirements()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 459, in _calculateSnapSizeRequirements     self._prepare_snap_replacement_data()   File "/tmp/ubuntu-release-upgrader-aue69nj7/DistUpgrade/DistUpgradeQuirks.py", line 808, in _prepare_snap_replacement_data     (r.version for r in di.get_all("object") AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all' ProblemType: BugDistroRelease: Ubuntu 19.04 Package: ubuntu-release-upgrader-core 1:19.04.16.7 ProcVersionSignature: Ubuntu 5.0.0-32.34-generic 5.0.21 Uname: Linux 5.0.0-32-generic x86_64 ApportVersion: 2.20.10-0ubuntu27.1 Architecture: amd64 CrashDB: ubuntu CurrentDesktop: Unity:Unity7:ubuntu Date: Fri Oct 18 20:06:04 2019 InstallationDate: Installed on 2018-05-07 (529 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) PackageArchitecture: allSourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to disco on 2019-10-19 (0 days ago) VarLogDistupgradeAptlog:  Log time: 2019-10-18 20:02:43.946172  Log time: 2019-10-18 20:02:52.524168 VarLogDistupgradeTermlog:
2020-11-19 13:08:18 Łukasz Zemczak ubuntu-release-upgrader (Ubuntu Groovy): status In Progress Fix Committed
2020-11-19 13:08:20 Łukasz Zemczak bug added subscriber Ubuntu Stable Release Updates Team
2020-11-19 13:08:22 Łukasz Zemczak bug added subscriber SRU Verification
2020-11-19 13:08:27 Łukasz Zemczak tags amd64 apport-bug disco dist-upgrade fr-899 third-party-packages amd64 apport-bug disco dist-upgrade fr-899 third-party-packages verification-needed verification-needed-groovy
2020-11-19 13:12:18 Łukasz Zemczak ubuntu-release-upgrader (Ubuntu Focal): status In Progress Fix Committed
2020-11-19 13:12:24 Łukasz Zemczak tags amd64 apport-bug disco dist-upgrade fr-899 third-party-packages verification-needed verification-needed-groovy amd64 apport-bug disco dist-upgrade fr-899 third-party-packages verification-needed verification-needed-focal verification-needed-groovy
2020-11-19 19:09:45 Brian Murray tags amd64 apport-bug disco dist-upgrade fr-899 third-party-packages verification-needed verification-needed-focal verification-needed-groovy amd64 apport-bug disco dist-upgrade fr-899 third-party-packages verification-done-groovy verification-needed verification-needed-focal
2020-11-19 20:54:08 Brian Murray tags amd64 apport-bug disco dist-upgrade fr-899 third-party-packages verification-done-groovy verification-needed verification-needed-focal amd64 apport-bug disco dist-upgrade fr-899 third-party-packages verification-done-focal verification-done-groovy verification-needed
2020-11-26 10:08:52 Łukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team
2020-11-26 10:13:02 Launchpad Janitor ubuntu-release-upgrader (Ubuntu Focal): status Fix Committed Fix Released
2020-11-26 10:18:57 Launchpad Janitor ubuntu-release-upgrader (Ubuntu Groovy): status Fix Committed Fix Released
2022-08-12 13:32:10 Dan Parnham attachment added failed-do-release-upgrade.log https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1848829/+attachment/5608222/+files/failed-do-release-upgrade.log