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

Balint Reczey balint.reczey at canonical.com
Wed Oct 16 15:40:16 UTC 2019


Public bug reported:

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

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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