/usr/bin/update-manager:TypeError:<lambda>:on_button_install_clicked:start_install:_start_pane:start:unwind_generator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
The backend API change made update-manager crash when the updated incompatible backend was loaded to the not updated running update-manager process.
The issue causes crashes upon update-manager updates harming the upgrade experience for users.
The fix avoids lazy loading of the backend modules but still honors the backend selection options.
[Test Case]
1. Start with a fully upgraded system and downgrade a few packages to let u-m upgrade them and also downgrade update-manager to 1:16.04.12 or earlier:
$ sudo eatmydata apt install -y --allow-downgrades gnome-software=
$ sudo apt install update-
2. Start u-m with:
$ update-manager --no-update
3. Upgrade update-manager to a still not fixed version to observe the crash:
$ sudo apt install update-
... or to the fixed version to a see the crash not happening in step 4:
$ sudo apt install update-
4. Press "Install Now" on u-m GUI.
The fixed u-m will successfully perform the installation, the unfixed one will fail with:
TypeError: commit() missing 1 required positional argument: 'pkgs_remove'
[Regression Potential]
The change to the backend API could cause u-m not able to remove unused kernels, but in my testing this feature still worked.
[Original Bug Text]
The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:18.04.11, the problem page at https:/
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
description: | updated |
Hello errors.ubuntu.com, or anyone else affected,
Accepted update-manager into xenial-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ update- manager/ 1:16.04. 15 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- xenial to verification- done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- xenial. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.