This bug was fixed in the package unattended-upgrades - 1.12ubuntu1
---------------
unattended-upgrades (1.12ubuntu1) eoan; urgency=medium
* Don't crash collecting transitive dependencies when package has no candidate
(LP: #1825886)
* Use mark_install_adjusted() in rewind_cache()
The original cache had packages marked with adjustments thus rewinding
should also do adjustments to reach the same state.
Also not using mark_install_adjusted() crashes when apt raises error on
held packages. (LP: #1826157)
-- Balint Reczey <[email protected]> Fri, 26 Apr 2019 14:33:08 +0200
** Changed in: unattended-upgrades (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unattended-upgrades in
Ubuntu.
https://bugs.launchpad.net/bugs/1825886
Title:
Unattended-upgrades may crash when a package does not have a candidate
Status in unattended-upgrades package in Ubuntu:
Fix Released
Status in unattended-upgrades source package in Bionic:
New
Status in unattended-upgrades source package in Cosmic:
New
Status in unattended-upgrades source package in Disco:
New
Bug description:
[Impact]
* Unattended-upgrades may crash when a package in apt's cache does not have
a candidate and it is visited when finding packages to adjust.
* The crash occurs when apt.Package.candidate is None and the fix is
checking if .candidate is truthy and it that case is safe to reference the
.dependencies attribute.
[Test Case]
* Watch the error not happening anymore.
[Regression Potential]
* The fix is very small and is not likely to cause any regression.
[Original Bug Text]
The Ubuntu Error Tracker has been receiving reports about a problem regarding
unattended-upgrades. This problem was most recently seen with package version
1.10ubuntu5, the problem page at
https://errors.ubuntu.com/problem/0d08f995622277f81d276f1eae7e1a722e3627de
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/.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1825886/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp