[Bug 1826157] Re: /usr/bin/unattended-upgrade:apt_pkg.Error:try_to_upgrade:rewind_cache:mark_install:/usr/bin/unattended-upgrade at 2268:main:run:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:mark_install

Balint Reczey balint.reczey at canonical.com
Fri Apr 26 16:33:27 UTC 2019


** Description changed:

+ [Impact]
+ 
+  * Unattended-upgrades may crash when rewinding cache due to not adjusting package candidates before marking them to upgrade/install.
+  * The fix is using adjusted marking that in effect rewinds the cache to the right, adjusted state.
+ 
+ [Test Case]
+ 
+  * test/test_rewind.py is updated to verify that rewinding included adjustments and it is ran during the build.
+  * Also 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/6f57d938f3aa56b3995d5bccf4637d65734d78e4 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/.

** Summary changed:

- /usr/bin/unattended-upgrade:apt_pkg.Error:try_to_upgrade:rewind_cache:mark_install:/usr/bin/unattended-upgrade at 2268:main:run:calculate_upgradable_pkgs:try_to_upgrade:rewind_cache:mark_install
+ rewind_cache() may crash due to not adjusting package candidates

** Summary changed:

- rewind_cache() may crash due to not adjusting package candidates
+ unattended-upgrades: rewind_cache() may crash due to not adjusting package candidates

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

Title:
  unattended-upgrades: rewind_cache() may crash due to not adjusting
  package candidates

Status in unattended-upgrades package in Ubuntu:
  New

Bug description:
  [Impact]

   * Unattended-upgrades may crash when rewinding cache due to not adjusting package candidates before marking them to upgrade/install.
   * The fix is using adjusted marking that in effect rewinds the cache to the right, adjusted state.

  [Test Case]

   * test/test_rewind.py is updated to verify that rewinding included adjustments and it is ran during the build.
   * Also 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/6f57d938f3aa56b3995d5bccf4637d65734d78e4 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/1826157/+subscriptions



More information about the foundations-bugs mailing list