/usr/bin/unattended-upgrade:AssertionError:/usr/bin/unattended-upgrade@1927:main:do_install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
High
|
Balint Reczey | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Unattended-upgrades can be crashing when packages are marked for removal after collecting upgradable packages.
* The fix clear the cache when it may be in an invalid state to lose markings.
[Test Case]
* Observe https:/
[Regression Potential]
* The extra cache.clear() can take extra CPU time when invoked needlessly or can cause skipping updates when invoked at the wrong time. However the fix received extensive testing in newer releases making unnoticed regressions unlikely to surface.
[Original Bug Text]
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://
Traceback
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/bin/
logfile_dpkg)
File "/usr/bin/
"removal:%s" % "".join([pkg.name for pkg in marked_delete]))
AssertionError: Internal error. The following packages are marked for removal:
Also seen as:
https:/
description: | updated |
Changed in unattended-upgrades (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Balint Reczey (rbalint) |
importance: | Undecided → High |
description: | updated |
tags: |
added: verification-done-bionic removed: verification-needed-done |
description: | updated |
Changed in unattended-upgrades (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in unattended-upgrades (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in unattended-upgrades (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
tags: | added: id-5c5c4808c0b18e80534bdd44 |
tags: |
added: verification-done-bionic verification-done-cosmic removed: verification-needed-bionic verification-needed-cosmic |
Fix is pending: https:/ /github. com/mvo5/ unattended- upgrades/ pull/131