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

Bigbiz 1910556 at bugs.launchpad.net
Thu Jan 7 15:37:27 UTC 2021


Public bug reported:

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)

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


** Tags: amd64 apport-bug focal package-from-proposed

-- 
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:
  New

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