Crash while release update

Bug #1903843 reported by Alex
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

# /usr/bin/update-manager
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
/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
Gtk-Message: 12:30:49.350: GtkDialog mapped without a transient parent. This is discouraged.
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 197, in _get_from_and_to_version
    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-67imrfg1/focal", line 8, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeMain.py", line 238, in main
    if app.run():
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeController.py", line 2089, in run
    return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeController.py", line 1926, in fullUpgrade
    if not self.doPostInitialUpdate():
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeController.py", line 924, in doPostInitialUpdate
    self.quirks.run("PostInitialUpdate")
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
    func()
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 118, in focalPostInitialUpdate
    self._get_from_and_to_version()
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 203, in _get_from_and_to_version
    (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 497, in add_to_existing
    self.write(f)
  File "/usr/lib/python3/dist-packages/problem_report.py", line 450, in write
    block = f.read(1048576)
  File "/usr/lib/python3.6/codecs.py", line 321, 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-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 197, in _get_from_and_to_version
    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-67imrfg1/focal", line 8, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeMain.py", line 238, in main
    if app.run():
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeController.py", line 2089, in run
    return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeController.py", line 1926, in fullUpgrade
    if not self.doPostInitialUpdate():
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeController.py", line 924, in doPostInitialUpdate
    self.quirks.run("PostInitialUpdate")
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
    func()
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 118, in focalPostInitialUpdate
    self._get_from_and_to_version()
  File "/tmp/ubuntu-release-upgrader-67imrfg1/DistUpgrade/DistUpgradeQuirks.py", line 203, in _get_from_and_to_version
    (r.version for r in di.get_all("object")
AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all'

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-5.4.0-53-generic 5.4.0-53.59~18.04.1
ProcVersionSignature: Ubuntu 5.4.0-53.59~18.04.1-generic 5.4.65
Uname: Linux 5.4.0-53-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.19
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Wed Nov 11 12:33:44 2020
InstallationDate: Installed on 2019-09-06 (431 days ago)
InstallationMedia: Ubuntu 18.04.3 LTS "Bionic Beaver" - Release amd64 (20190805)
SourcePackage: linux-signed-hwe-5.4
UpgradeStatus: Upgraded to bionic on 2020-11-11 (0 days ago)

Revision history for this message
Alex (alex031544) wrote :
affects: linux-signed-hwe-5.4 (Ubuntu) → update-manager (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.