** Description changed:

+ [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://errors.ubuntu.com/problem/66b5fef8d6dd83a7db6c494c807cfc067626c0c2
+ not occurring in fixed versions.
+ 
+ [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-upgrades.  This problem was most recently seen with package version 
1.1ubuntu1.18.04.1, the problem page at 
https://errors.ubuntu.com/problem/9b1b98279fa2b503abb1b1b69bec0cabf647be0c 
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/.
  
  Traceback
  
  Traceback (most recent call last):
    File "/usr/bin/unattended-upgrade", line 1927, in <module>
      sys.exit(main(options))
    File "/usr/bin/unattended-upgrade", line 1782, in main
      logfile_dpkg)
    File "/usr/bin/unattended-upgrade", line 1057, in do_install
      "removal:%s" % "".join([pkg.name for pkg in marked_delete]))
  AssertionError: Internal error. The following packages are marked for 
removal:linux-headers-4.15.0-20-generic
  
  Also seen as:
  https://errors.ubuntu.com/problem/733d2e7865692e215f406231edd3692a6a1810c5

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

Title:
  /usr/bin/unattended-upgrade:AssertionError:/usr/bin/unattended-
  upgrade@1927:main:do_install

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

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

Reply via email to