2018-10-03 13:45:16 |
Balint Reczey |
bug |
|
|
added bug |
2018-10-03 15:19:05 |
Launchpad Janitor |
update-manager (Ubuntu): status |
New |
Confirmed |
|
2018-10-03 20:55:00 |
Balint Reczey |
branch linked |
|
lp:~rbalint/update-manager/lp-1795898-lp-1790670-cosmic |
|
2018-10-03 21:24:19 |
Balint Reczey |
description |
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 242, in _on_finished
trans_failed=trans_failed)
TypeError: _action_done() got an unexpected keyword argument 'trans_failed' |
[Impact]
Lazy imports made update-manager crash when an update-manager
update changed the backend API and an 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:
$ sudo eatmydata apt install -y --allow-downgrades gnome-software=3.28.1-0ubuntu4 gnome-software-common=3.28.1-0ubuntu4
2. Start u-m with:
$ update-manager --no-update
3. Make a syntax error in /usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py
4. Press "Install Now" on u-m GUI.
The fixed u-m will successfully perform the installation, the unfixed one will fail with SyntaxError.
[Regression Potential]
Wrong changes to the backend import/selection logic could make u-m unable to find the available backends, but in my testing the fixed version could properly find both aptdaemon and synaptic when they were present.
[Original Bug Text]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 242, in _on_finished
trans_failed=trans_failed)
TypeError: _action_done() got an unexpected keyword argument 'trans_failed' |
|
2018-10-03 23:24:34 |
Balint Reczey |
branch linked |
|
lp:~rbalint/update-manager/lp-1795898-lp-1790670-lp-1072136-bionic |
|
2018-10-05 10:23:36 |
Balint Reczey |
branch linked |
|
lp:~rbalint/update-manager/lp-1795898-upgrade-workaround |
|
2018-10-05 10:24:09 |
Balint Reczey |
branch linked |
|
lp:~rbalint/update-manager/lp-1795898-upgrade-workaround-bionic |
|
2018-10-08 11:40:28 |
Launchpad Janitor |
update-manager (Ubuntu): status |
Confirmed |
Fix Released |
|
2018-10-11 13:04:00 |
Christian Ehrhardt |
nominated for series |
|
Ubuntu Bionic |
|
2018-10-11 13:04:00 |
Christian Ehrhardt |
bug task added |
|
update-manager (Ubuntu Bionic) |
|
2018-10-11 13:04:17 |
Christian Ehrhardt |
update-manager (Ubuntu Bionic): status |
New |
In Progress |
|
2018-10-11 13:04:25 |
Christian Ehrhardt |
update-manager (Ubuntu Bionic): assignee |
|
Balint Reczey (rbalint) |
|
2018-10-13 03:58:47 |
Steve Langasek |
update-manager (Ubuntu Bionic): status |
In Progress |
Fix Committed |
|
2018-10-13 03:58:49 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-10-13 03:58:51 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2018-10-13 03:58:54 |
Steve Langasek |
tags |
|
verification-needed verification-needed-bionic |
|
2018-10-19 16:18:42 |
Balint Reczey |
tags |
verification-needed verification-needed-bionic |
verification-done verification-done-bionic |
|
2018-10-22 08:05:15 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-10-22 08:15:12 |
Launchpad Janitor |
update-manager (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-10-24 17:08:00 |
Brian Murray |
update-manager (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-10-24 17:08:02 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-10-24 17:08:07 |
Brian Murray |
tags |
verification-done verification-done-bionic |
verification-done-bionic verification-needed verification-needed-xenial |
|
2018-10-25 11:28:47 |
Balint Reczey |
tags |
verification-done-bionic verification-needed verification-needed-xenial |
verification-done verification-done-bionic verification-done-xenial |
|
2018-11-01 19:30:20 |
Launchpad Janitor |
update-manager (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|