[Bug 1925719] [NEW] UpdateManager Crash

Launchpad Bug Tracker 1925719 at bugs.launchpad.net
Thu Apr 29 08:19:25 UTC 2021


You have been subscribed to a public bug:

In Ubuntu 2020 LTS, When I choose update system, Update Manager crash.

Following the crash report details, I found there is a bug in Update
Manager scripts.

Open /usr/lib/python3/dist-packages/UpdateManager/backend/__init__.py,
pkgs_inpstall_oem and pkgs_upgrade_oem variables are defined in start
method.

However, these variables init in for loop and used out of for loop, the next function:
self.commit_oem(pkgs_inpstall_oem, pkgs_upgrade_oem) will crash as variables are not inited.

Fix method is obvious, When definition code is moved out of for loop,
the Update Manager work successfully.

** Affects: update-manager
     Importance: Undecided
         Status: New

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

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



More information about the foundations-bugs mailing list