[Bug 1848357] Re: Adjusting transitive dependencies of packages slows down unattended-upgrades a lot

Launchpad Bug Tracker 1848357 at bugs.launchpad.net
Fri Oct 25 18:50:29 UTC 2019


This bug was fixed in the package unattended-upgrades - 1.15

---------------
unattended-upgrades (1.15) unstable; urgency=medium

  [ Tobias Bannert ]
  * update german translation.
    Improved some formulations and punctuation.

  [ Maarten ]
  * Update Dutch translation (Closes: #941672)

  [ Balint Reczey ]
  * autopkgtest: Retry failing downloads a few times
  * test/autopkgtest_kernel_patterns.py: Add debug statements
  * test/autopkgtest_kernel_patterns.py: Use stricter pattern for
    packages to check
  * debian/tests/control: Mark upgrade-between-snapshots as flaky
    (Closes: #941752)
  * Fix whitespace (LP: #1848036)
  * Explain sanity check failures better
  * Adjust only direct dependencies when falling back to adjusting more
    packages.
    Adjusting all transitive dependencies is found to slow down upgrades too
    much when many packages were upgradable but not with adjustments taking
    place. If a package upgrade to be installed by unattended-upgrades requires
    adjusting a transitive but not direct dependency, please add this
    dependency as a direct dependency of the package to unlock the upgrade.
    (Closes: #935653) (LP: #1848357)
  * debian/tests/common-functions: Don't sleep after successful u-u run

 -- Balint Reczey <rbalint at ubuntu.com>  Tue, 22 Oct 2019 18:48:33 +0200

** Changed in: unattended-upgrades (Ubuntu)
       Status: New => Fix Released

-- 
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/1848357

Title:
  Adjusting transitive dependencies of packages slows down unattended-
  upgrades a lot

Status in unattended-upgrades package in Ubuntu:
  Fix Released

Bug description:
  [Impact]

   * Unattended-upgrades tries to mark packages for upgrade and when it
  fails to do so and falls back to mark adjusting packages to use
  candidates from allowed origins it can spend a lot of CPU time on
  packages which are not installable in the end.

  [Test Case]

   * Mark an upgradable package from the security pocket as held.
   * Observe u-u adjusting only direct dependencies, instead of doing it recursively.

  [Regression Potential]

   * U-u may fail to install updates due to APT not finding a solution
  without having transitive dependences adjusted. In those cases the
  update should mark the transitive dependencies which enable the update
  as direct dependencies.

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



More information about the foundations-bugs mailing list