[Bug 1925719] Re: UpdateManager Crash
Paul White
1925719 at bugs.launchpad.net
Thu Apr 29 08:19:23 UTC 2021
** Package changed: ubuntu => update-manager (Ubuntu)
--
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/1925719
Title:
UpdateManager Crash
Status in Software Updater:
New
Status in update-manager package in Ubuntu:
New
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/update-manager/+bug/1925719/+subscriptions
More information about the foundations-bugs
mailing list