Public bug reported:

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: ubuntu
     Importance: Undecided
         Status: New

** Project changed: launchpad => update-manager

** Also affects: ubuntu
   Importance: Undecided
       Status: New

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

Title:
  UpdateManager Crash

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to