apt.Cache.clear() -> apt.Cache._depcache.init() raises Error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Opinion
|
Undecided
|
Unassigned | ||
unattended-upgrades (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Unattended-upgrades 2.1 triggers the following crash in python-apt:
File "/usr/bin/
cache.
File "/usr/bin/
self.
File "/usr/bin/
self.clear()
File "/usr/lib/
self.
apt_pkg.Error: E:The package intellij-
I think .clear() should not raise an error, but if it should u-u can catch that.
---
The Ubuntu Error Tracker has been receiving reports about a problem regarding unattended-
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
summary: |
- /usr/bin/unattended- - upgrade:apt_pkg.Error:try_to_upgrade:mark_upgrade_adjusted:call_adjusted:clear:/usr/bin/unattended- - upgrade@2512:main:run:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:clear + apt.Cache._depcache.init() raises Error |
summary: |
- apt.Cache._depcache.init() raises Error + apt.Cache.clear() -> apt.Cache._depcache.init() raises Error |
description: | updated |
Changed in unattended-upgrades (Ubuntu): | |
status: | New → Opinion |
tags: | added: rls-ff-incoming |
tags: | added: id-5e8dd41b421c45209b1bd8e6 |
If clear() fails, you're a bit lost, but I'm not sure what you'd want to do here, the system is completely broken at that point.