** Description changed:

+ [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/.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1825886

Title:
  Unattended-upgrades may crash when a package does not have a candidate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1825886/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to