/usr/bin/update-manager:AttributeError:/usr/bin/update-manager@118:start_update:start_available:refresh_cache:update
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Bionic |
Fix Released
|
Undecided
|
Brian Murray | ||
Eoan |
Fix Released
|
Undecided
|
Brian Murray | ||
Focal |
Fix Released
|
Undecided
|
Brian Murray |
Bug Description
[Impact]
update-manager is crashing frequently causing a bad user experience.
[Test Case]
The crash happens when an AssertionError is raised in MyCache but I haven't figure out how to recreate that. So here's a way to force an assertion error.
1) edit the MyCache class's __init__ function (found in UpdateManager/
2) run update-manager and observe the Traceback in comment #1
With the version of update-manager from -proposed you'll no longer receive a Traceback you'll instead see a "Not all updates can be installed" dialog. Additionally, after clicking continue in that dialog you'll be presented with another dialog that says "Software index is broken".
We can also use the bucket in the Error Tracker to confirm that there are no crashes with the version of the package from -proposed.
[Regression Potential]
Original Description
-------
The Ubuntu Error Tracker has been receiving reports about a problem regarding update-manager. This problem was most recently seen with package version 1:19.04.5, 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
- Ubuntu Core Development Team: Pending requested
-
Diff: 50 lines (+16/-2)2 files modifiedUpdateManager/UpdateManager.py (+7/-2)
debian/changelog (+9/-0)
- Elio Qoshi: Pending requested
- Sebastien Bacher: Pending requested
-
Diff: 2128 lines (+863/-137) (has conflicts)21 files modified.gitignore (+2/-0)
HweSupportStatus/consts.py (+26/-0)
UpdateManager/Core/MetaRelease.py (+14/-0)
UpdateManager/Core/UpdateList.py (+129/-0)
UpdateManager/Core/utils.py (+17/-0)
UpdateManager/Dialogs.py (+28/-1)
UpdateManager/UpdateManager.py (+120/-14)
UpdateManager/UpdateManagerVersion.py (+4/-0)
UpdateManager/UpdatesAvailable.py (+105/-17)
UpdateManager/backend/InstallBackendAptdaemon.py (+30/-0)
UpdateManager/backend/__init__.py (+56/-0)
data/gtkbuilder/UpdateManager.ui (+44/-105)
debian/changelog (+133/-0)
debian/control (+3/-0)
hwe-support-status (+5/-0)
tests/test_backend_error.py (+36/-0)
tests/test_hwe_support_status.py (+8/-0)
tests/test_meta_release_core.py (+22/-0)
tests/test_pep8.py (+42/-0)
tests/test_proxy.py (+31/-0)
tests/test_update_error.py (+8/-0)
tags: | added: rls-ff-incoming |
tags: | added: focal |
tags: | added: id-5e4591c86f580c588732b8d3 |
Changed in update-manager (Ubuntu Focal): | |
milestone: | none → ubuntu-20.04.1 |
Changed in update-manager (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
importance: | Undecided → High |
Changed in update-manager (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in update-manager (Ubuntu Eoan): | |
status: | New → Confirmed |
Changed in update-manager (Ubuntu Focal): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Changed in update-manager (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in update-manager (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
Here's the Traceback:
Traceback (most recent call last): update- manager" , line 118, in <module> start_update( ) python3/ dist-packages/ UpdateManager/ UpdateManager. py", line 215, in start_update start_available () python3/ dist-packages/ UpdateManager/ UpdateManager. py", line 233, in start_available refresh_ cache() python3/ dist-packages/ UpdateManager/ UpdateManager. py", line 390, in refresh_cache update_ list.update( self.cache, eventloop_ callback= iterate) python3/ dist-packages/ UpdateManager/ Core/UpdateList .py", line 479, in update distUpgradeWoul dDelete = cache.saveDistU pgrade( )
File "/usr/bin/
app.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
AttributeError: 'NoneType' object has no attribute 'saveDistUpgrade'