/usr/bin/update-manager:AttributeError:<lambda>:available:start_available:refresh_cache:_get_ua_security_status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Nathan Teodosio | ||
Xenial |
Fix Committed
|
Undecided
|
Nathan Teodosio | ||
Bionic |
Fix Committed
|
Undecided
|
Nathan Teodosio | ||
Focal |
Fix Committed
|
Undecided
|
Nathan Teodosio | ||
Jammy |
Fix Committed
|
High
|
Nathan Teodosio | ||
Noble |
Triaged
|
High
|
Nathan Teodosio |
Bug Description
Impact
------
This bug was is a regression of the bug fix LP:2058133; It held back the phasing of the package.
The symptom is that update-manager crashes right at start, doesn't launch.
The ua.updates() and current_news() end-points are documented to throw no exceptions, but actually they might, in which case this bug is encountered. As such, the proposed fix tries the API but ignores exceptions raised by it, causing update-manager to still work, even if the Pro packages end up being classified as normal packages or if Pro news aren't displayed.
Test plan
---------
Run 'UA_CONFIG_FILE=/ update-manager --no-update', update-manager should launch, not crash.
Where problems could occur
-------
If the API end-points are working, ensure that classifying Pro packages as such and displaying possible Pro news continues to work.
Original report
---------------
Looks like ua.updates() can actually throw an exception. Only that would explain this crash.
Traceback (most recent call last):
File "/usr/lib/
button.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
for package in self.ua_updates:
AttributeError: 'UpdateManager' object has no attribute 'ua_updates'
The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:22.04.20, 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://
Related branches
- Nathan Teodosio (community): Disapprove
- Robie Basak: Approve (ubuntu-sru)
- Sebastien Bacher: Pending requested
-
Diff: 57 lines (+11/-2)3 files modifiedUpdateManager/UpdateManager.py (+2/-1)
UpdateManager/UpdatesAvailable.py (+2/-1)
debian/changelog (+7/-0)
- Sebastien Bacher: Approve
- Nathan Teodosio (community): Approve
-
Diff: 28 lines (+8/-1)2 files modifiedUpdateManager/UpdateManager.py (+2/-1)
debian/changelog (+6/-0)
- Sebastien Bacher: Pending requested
-
Diff: 28 lines (+8/-1)2 files modifiedUpdateManager/UpdateManager.py (+2/-1)
debian/changelog (+6/-0)
- Sebastien Bacher: Pending requested
-
Diff: 28 lines (+8/-1)2 files modifiedUpdateManager/UpdateManager.py (+2/-1)
debian/changelog (+6/-0)
- Sebastien Bacher: Approve
-
Diff: 49 lines (+15/-1)3 files modifiedUpdateManager/UpdateManager.py (+6/-1)
UpdateManager/UpdatesAvailable.py (+3/-0)
debian/changelog (+6/-0)
- Sebastien Bacher: Approve
-
Diff: 48 lines (+14/-1)3 files modifiedUpdateManager/UpdateManager.py (+5/-1)
UpdateManager/UpdatesAvailable.py (+3/-0)
debian/changelog (+6/-0)
- Sebastien Bacher: Approve
-
Diff: 48 lines (+14/-1)3 files modifiedUpdateManager/UpdateManager.py (+5/-1)
UpdateManager/UpdatesAvailable.py (+3/-0)
debian/changelog (+6/-0)
- Sebastien Bacher: Approve
-
Diff: 48 lines (+14/-1)3 files modifiedUpdateManager/UpdateManager.py (+5/-1)
UpdateManager/UpdatesAvailable.py (+3/-0)
debian/changelog (+6/-0)
- Sebastien Bacher: Approve
-
Diff: 49 lines (+15/-1)3 files modifiedUpdateManager/UpdateManager.py (+6/-1)
UpdateManager/UpdatesAvailable.py (+3/-0)
debian/changelog (+6/-0)
- Sebastien Bacher: Approve
-
Diff: 28 lines (+9/-0)2 files modifiedUpdateManager/UpdatesAvailable.py (+3/-0)
debian/changelog (+6/-0)
- Sebastien Bacher: Approve
-
Diff: 35 lines (+12/-1)2 files modifiedUpdateManager/UpdateManager.py (+6/-1)
debian/changelog (+6/-0)
Changed in update-manager (Ubuntu): | |
assignee: | nobody → Nathan Teodosio (nteodosio) |
status: | New → In Progress |
importance: | Undecided → High |
description: | updated |
Changed in update-manager (Ubuntu Noble): | |
importance: | Undecided → High |
Changed in update-manager (Ubuntu Jammy): | |
importance: | Undecided → Critical |
importance: | Critical → High |
assignee: | nobody → Nathan Teodosio (nteodosio) |
Changed in update-manager (Ubuntu Noble): | |
assignee: | nobody → Nathan Teodosio (nteodosio) |
Changed in update-manager (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in update-manager (Ubuntu Noble): | |
status: | New → In Progress |
description: | updated |
Changed in update-manager (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in update-manager (Ubuntu Focal): | |
status: | New → In Progress |
Changed in update-manager (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in update-manager (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in update-manager (Ubuntu Focal): | |
assignee: | nobody → Nathan Teodosio (nteodosio) |
Changed in update-manager (Ubuntu Bionic): | |
assignee: | nobody → Nathan Teodosio (nteodosio) |
Changed in update-manager (Ubuntu Xenial): | |
assignee: | nobody → Nathan Teodosio (nteodosio) |
status: | In Progress → New |
Changed in update-manager (Ubuntu Bionic): | |
status: | In Progress → Triaged |
Changed in update-manager (Ubuntu Focal): | |
status: | In Progress → Triaged |
Changed in update-manager (Ubuntu Jammy): | |
status: | In Progress → Triaged |
Changed in update-manager (Ubuntu Xenial): | |
status: | New → Triaged |
This bug was fixed in the package update-manager - 1:24.10.1
---------------
update-manager (1:24.10.1) oracular; urgency=medium
[ Nathan Pratta Teodosio ]
* Don't crash if the updates() end-point of the Pro API fails (LP: #2064211).
[ Himadri Sekhar Basu ]
* Fix scroll window on update downloading page
- Currently the download progress box does not
expand vertically when in fullscreen, however
the expansion in vertical direction with
increasing window height is the proper
behaviour. This fix provides this desired
behaviour.
- Fixes LP: #1772486, LP: #1856404
-- Graham Inggs <email address hidden> Wed, 22 May 2024 15:21:09 +0000