2014-05-07 16:15:38 |
Brian Murray |
bug |
|
|
added bug |
2014-05-07 16:15:53 |
Brian Murray |
tags |
|
trusty utopic |
|
2014-05-07 16:15:57 |
Brian Murray |
update-manager (Ubuntu): importance |
Undecided |
High |
|
2014-05-07 16:16:58 |
Brian Murray |
update-manager (Ubuntu): milestone |
|
ubuntu-14.10 |
|
2014-07-21 05:08:12 |
Launchpad Janitor |
update-manager (Ubuntu): status |
New |
Confirmed |
|
2015-03-09 14:58:53 |
Brian Murray |
update-manager (Ubuntu): milestone |
ubuntu-14.10 |
ubuntu-15.04 |
|
2015-03-09 14:59:02 |
Brian Murray |
tags |
trusty utopic |
rls-v-incoming trusty utopic |
|
2015-04-16 21:00:52 |
Brian Murray |
tags |
rls-v-incoming trusty utopic |
rls-v-notfixing trusty utopic |
|
2015-04-20 09:12:53 |
Martin Pitt |
update-manager (Ubuntu): milestone |
ubuntu-15.04 |
vivid-updates |
|
2015-05-06 21:48:14 |
Brian Murray |
update-manager (Ubuntu): milestone |
vivid-updates |
|
|
2015-08-22 17:14:09 |
peterstan |
update-manager (Ubuntu): status |
Confirmed |
Fix Released |
|
2015-08-26 21:17:31 |
Brian Murray |
update-manager (Ubuntu): status |
Fix Released |
Confirmed |
|
2018-09-11 11:49:14 |
Balint Reczey |
branch linked |
|
lp:~rbalint/update-manager/retry-after-failed-transaction |
|
2018-09-11 12:33:49 |
Francis Ginther |
tags |
rls-v-notfixing trusty utopic |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic |
|
2018-09-12 10:01:57 |
Balint Reczey |
update-manager (Ubuntu): status |
Confirmed |
In Progress |
|
2018-09-12 10:03:06 |
Balint Reczey |
summary |
update-manager / aptdaemon TransactionFailed crashes are not problems with update-manager |
Show reason of TransactionFailed and let the user try again instead of crashing |
|
2018-09-12 20:08:30 |
Balint Reczey |
description |
On errors.ubuntu.com there are multiple crashes reported about update-manager that end in a Traceback like the following:
aptdaemon.errors.TransactionFailed: Transaction failed: The package system is broken
The following packages have unmet dependencies:
rhythmbox-plugin-magnatune: Depends: rhythmbox (= 3.0.2-0ubuntu2) but 3.0.2-0ubuntu1 is installed
Naturally, the package name varies. I don't believe these are actually crashes about update-manager or aptdaemon. Rather there is something wrong with the users package system. Subsequently, it'd be better if these were not reported to the error tracker and clogging up the bug lists. |
[Impact]
* Update-manager crashes when it tries to remove a package that was already removed since update-manager refreshed its cache. A typical scenario is when the list of available packages is updated, then update-manager pops up to notify the user about the updates. The user is not in front of the screen and unattended-upgrades installs the security updates and removes unused kernels making the list of updates shown to the user outdated. User clicks "Install now" and update-manager crashes.
* The fix shows the reason of the transaction failure then asks offers the user to try again.
[Test Case ]
(with Bionic's package names)
* Revert the patch for LP: #1791931 since it shadows the issue by filtering the package operations in advance.
* Install older kernel packages, downgrade a few packages and mark the kernels autoremovable:
$ sudo eatmydata apt install -y --allow-downgrades linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic libpoppler73=0.62.0-2ubuntu2 poppler-utils=0.62.0-2ubuntu2 ; sudo /etc/kernel/postinst.d/apt-auto-removal ; sudo apt-mark auto linux-headers-4.15.0-32 linux-headers-4.15.0-32-generic
* Start update-manager in a different terminal and _don't_ start the upgrade
* Remove kernel packages behind u-m's back:
$ sudo eatmydata apt remove -y linux-headers-4.15.0-32
* Start the update on update-manager's GUI and observe it not crashing with the fixed version but showing the reason of the update failing and offering trying it again.
[Regression Potential]
* Inaccurate exception handling could shadow other problems.
[Original bug text]
On errors.ubuntu.com there are multiple crashes reported about update-manager that end in a Traceback like the following:
aptdaemon.errors.TransactionFailed: Transaction failed: The package system is broken
The following packages have unmet dependencies:
rhythmbox-plugin-magnatune: Depends: rhythmbox (= 3.0.2-0ubuntu2) but 3.0.2-0ubuntu1 is installed
Naturally, the package name varies. I don't believe these are actually crashes about update-manager or aptdaemon. Rather there is something wrong with the users package system. Subsequently, it'd be better if these were not reported to the error tracker and clogging up the bug lists. |
|
2018-09-13 16:06:42 |
Balint Reczey |
update-manager (Ubuntu): status |
In Progress |
Fix Committed |
|
2018-09-13 17:10:44 |
Launchpad Janitor |
update-manager (Ubuntu): status |
Fix Committed |
Fix Released |
|
2018-09-18 16:05:09 |
Balint Reczey |
branch linked |
|
lp:~rbalint/update-manager/retry-after-failed-transaction-bionic |
|
2018-09-20 12:05:51 |
Łukasz Zemczak |
update-manager (Ubuntu Bionic): status |
New |
Fix Committed |
|
2018-09-20 12:05:53 |
Łukasz Zemczak |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-09-20 12:05:54 |
Łukasz Zemczak |
bug |
|
|
added subscriber SRU Verification |
2018-09-20 12:05:58 |
Łukasz Zemczak |
tags |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic verification-needed verification-needed-bionic |
|
2018-09-20 12:18:03 |
Łukasz Zemczak |
update-manager (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-09-20 12:18:07 |
Łukasz Zemczak |
tags |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic verification-needed verification-needed-bionic |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic verification-needed verification-needed-bionic verification-needed-xenial |
|
2018-09-27 16:14:35 |
Balint Reczey |
tags |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic verification-needed verification-needed-bionic verification-needed-xenial |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic verification-done-bionic verification-needed verification-needed-xenial |
|
2018-09-27 16:33:39 |
Balint Reczey |
tags |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic verification-done-bionic verification-needed verification-needed-xenial |
id-5b97ab08c18adb87fe7517e3 rls-v-notfixing trusty utopic verification-done verification-done-bionic verification-done-xenial |
|
2018-09-27 16:37:08 |
Victor Johansson |
bug |
|
|
added subscriber Victor Johansson |
2018-09-27 16:37:16 |
Victor Johansson |
removed subscriber Victor Johansson |
|
|
|
2018-09-27 16:37:25 |
Victor Johansson |
bug |
|
|
added subscriber Victor Johansson |
2018-09-27 16:37:29 |
Victor Johansson |
removed subscriber Victor Johansson |
|
|
|
2018-09-27 16:37:54 |
Victor Johansson |
bug |
|
|
added subscriber Victor Johansson |
2018-09-27 16:53:51 |
Otechmobile |
bug |
|
|
added subscriber Otechmobile |
2018-09-27 18:57:35 |
CHRIS SAYERS |
bug |
|
|
added subscriber CHRIS SAYERS |
2018-10-01 07:48:29 |
Łukasz Zemczak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-10-01 07:58:32 |
Launchpad Janitor |
update-manager (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|
2018-10-01 08:06:25 |
Launchpad Janitor |
update-manager (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-10-01 08:32:06 |
flob |
bug |
|
|
added subscriber flob |
2023-11-20 15:53:56 |
Launchpad Janitor |
merge proposal linked |
|
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/455893 |
|
2023-11-20 15:57:18 |
Nathan Teodosio |
merge proposal unlinked |
https://code.launchpad.net/~nteodosio/update-manager/+git/update-manager/+merge/455893 |
|
|
2023-11-22 15:44:20 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Sebastien Bacher |
2023-11-22 16:20:06 |
Sebastien Bacher |
removed subscriber Sebastien Bacher |
|
|
|