update-manager crashed with UnboundLocalError in _get_application_for_package(): local variable 'installed_file' referenced before assignment

Bug #1142400 reported by LAZA
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

1. start VirtualBox 4.2.8
2. start 'Xubuntu Quantal amd64-Klon'
3. login
4a. Settings - Screen - change resolution
4b. click on 'Software Updates'
4c. Packages where downloaded
4d. update-manager crashed AND updates where shown in the icon on the panel

Xubuntu 13.04 beta
update-manager 1:0.183
Linux 3.8.0-9.18-generic 3.8.1

----
 Traceback (most recent call last):
   File "/usr/lib/python3/dist-packages/UpdateManager/UpdateProgress.py", line 78, in _on_backend_done
     self.window_main.start_available(not success)
   File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 186, in start_available
     self.refresh_cache()
   File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 313, in refresh_cache
     self.update_list.update(self.cache)
   File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 416, in update
     self.update_groups = self._make_groups(cache, upgrade_pkgs)
   File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 337, in _make_groups
     app = self._get_application_for_package(pkg)
   File "/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py", line 238, in _get_application_for_package
     (installed_file, e))
 UnboundLocalError: local variable 'installed_file' referenced before assignment

Tags: raring
Revision history for this message
LAZA (laza74) wrote :
Revision history for this message
LAZA (laza74) wrote :

To do the updates is not possible cause the search window does not disappear and cannot be closed.

Logout and login again, clicking on the update icon leads to teh next crash same error!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Sami Jaktholm (sjakthol)
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

This particular part of the code no longer exists.

Changed in update-manager (Ubuntu):
status: Confirmed → Won't Fix
Revision history for this message
Brian Murray (brian-murray) wrote :

Actually it's pretty much the same code so let's mark this as a duplicate of a more recent bug report.

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.