[Bug 1910886] Re: Crash | Upgate manager from GUI when clicked on install | File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 882, in on_button_install_clicked

Brian Murray 1910886 at bugs.launchpad.net
Tue Apr 6 20:41:45 UTC 2021


update-manager (1:21.04.3) hirsute; urgency=medium

  [ Brian Murray ]
  * UpdateManager/Dialogs.py: do not mention livepatch settings when the
    interface is not installed, thanks to Sebastien Bacher for the patch.
    (LP: #1807900)
  * UpdateManager/backend/__init__.py: Resolve unbound local error crash with 
    oem package lists. Thanks to Thomas Bechtold for the patch.

  [ William Wilson ]
  * UpdateManager/Core/UpdateList.py: change to a regex from a static list 
    of packages to be grouped under Ubuntu Base (LP: #1902025)

 -- Brian Murray <brian at ubuntu.com>  Fri, 08 Jan 2021 08:41:47 -0800


** Package changed: ubuntu-release-upgrader (Ubuntu) => update-manager (Ubuntu)

** Changed in: update-manager (Ubuntu)
       Status: New => Fix Released

-- 
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/1910886

Title:
  Crash | Upgate manager from GUI when clicked on install |   File
  "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py",
  line 882, in on_button_install_clicked

Status in update-manager package in Ubuntu:
  Fix Released

Bug description:
  OS:
  lsb_release -a
  Distributor ID: Ubuntu
  Description: Ubuntu Hirsute Hippo (development branch)
  Release: 21.04
  Codename: hirsute

  Python version:
  Python 3.9.1

  Terminal o/p on running /usr/bin/python3 /usr/bin/update-manager --no-
  update --no-focus-on-map and clcik on 'Install Now' button

  Stacktrace:
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py", line 118, in <lambda>
      button.connect("clicked", lambda x: callback())
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdatesAvailable.py", line 882, in on_button_install_clicked
      self.window_main.start_install()
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 234, in start_install
      self._start_pane(install_backend)
    File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 174, in _start_pane
      pane.start()
    File "/usr/lib/python3/dist-packages/UpdateManager/backend/__init__.py", line 61, in start
      self.commit_oem(pkgs_install_oem, pkgs_upgrade_oem)
  UnboundLocalError: local variable 'pkgs_install_oem' referenced before assignment

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: ubuntu-release-upgrader-core 1:21.04.3
  ProcVersionSignature: Ubuntu 5.8.0-34.37+21.04.1-generic 5.8.18
  Uname: Linux 5.8.0-34-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu55
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jan 10 02:35:16 2021
  InstallationDate: Installed on 2018-02-21 (1053 days ago)
  InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180214)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  Symptom: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to hirsute on 2020-12-20 (20 days ago)
  VarLogDistupgradeTermlog:

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



More information about the foundations-bugs mailing list