/usr/bin/update-manager:AttributeError:<lambda>:available:start_available:refresh_cache:_get_ua_security_status

Bug #2064211 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
In Progress
High
Nathan Teodosio
Xenial
New
Undecided
Unassigned
Bionic
New
Undecided
Unassigned
Focal
New
Undecided
Unassigned
Jammy
In Progress
High
Nathan Teodosio
Noble
In Progress
High
Nathan Teodosio

Bug Description

Looks like ua.updates() can actually throw an exception. Only that would explain this crash.

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py", line 118, in <lambda>
    button.connect("clicked", lambda x: callback())
  File "/usr/lib/python3/dist-packages/UpdateManager/Dialogs.py", line 371, in available
    self.window_main.start_available(error_occurred=True)
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 242, in start_available
    self.refresh_cache()
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 461, in refresh_cache
    self._get_ua_security_status()
  File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 285, in _get_ua_security_status
    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://errors.ubuntu.com/problem/ed0e9f0ed8bc4002d808a11e37e4ee9d870e32c1 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Tags: jammy

Related branches

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.