[Bug 1910556] Re: update-manager is hanging after clicking on "install updates"

Julian Andres Klode 1910556 at bugs.launchpad.net
Mon Jan 11 09:57:00 UTC 2021


This was fixed in hirsute in

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

** Changed in: update-manager (Ubuntu Focal)
       Status: New => In Progress

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

Title:
  update-manager is hanging after clicking on "install updates"

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Focal:
  In Progress

Bug description:
  This after launching update-manager in a terminal's window:

  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 880, 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

  I tried with sudo but nothing to do.

  I've the same problem on 3 systems.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: update-manager 1:20.04.10.2
  ProcVersionSignature: Ubuntu 5.4.0-59.65-generic 5.4.78
  Uname: Linux 5.4.0-59-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.14
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Thu Jan  7 16:30:48 2021
  ExecutablePath: /usr/bin/update-manager
  InstallationDate: Installed on 2019-04-13 (635 days ago)
  InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
  InterpreterPath: /usr/bin/python3.8
  PackageArchitecture: all
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=it_IT.UTF-8
   SHELL=/bin/bash
  Python3Details: /usr/bin/python3.8, Python 3.8.5, python3-minimal, 3.8.2-0ubuntu2
  PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to focal on 2020-12-29 (8 days ago)

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



More information about the foundations-bugs mailing list