[Bug 1903843] [NEW] Crash while release update

Alex 1903843 at bugs.launchpad.net
Wed Nov 11 11:41:17 UTC 2020


Public bug reported:

# /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)

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic third-party-packages

** Package changed: linux-signed-hwe-5.4 (Ubuntu) => update-manager
(Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1903843

Title:
  Crash while release update

Status in update-manager package in Ubuntu:
  New

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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1903843/+subscriptions



More information about the foundations-bugs mailing list