diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2024-05-25 09:45:39 +0200 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-06-13 15:10:06 +0200 |
| commit | 102017ecaa01a733a0860a62edae60cb0ab0220e (patch) | |
| tree | c93b9b1ca3292f468b288d2ffd6e7028c6a60e7d /doc | |
| parent | 5502c0bc5754499e82a1e03ca5a24779adb6f485 (diff) | |
solver3: Group work items
Our backtracking is chronological, so we will first
try alternative choices or skip optional items in
later groups.
So installing manually installed packages before automatically
installed ones allows manually installed packages to remove
automatically installed packages easily. If we did automatic
packages first, we'd keep back upgrades for manual packages
or change choices for their dependencies, or would have to
backtrack harder to get back to the right decision level.
That's silly.
Ordering automatically installed packages last also allows
us to calculate autoremovable packages. Since we will have
installed all dependencies from manually installed packages
by the point where we get to automatically installed packages,
everything that will be installed in those Auto groups is
inherently garbage.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
