diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-03-12 18:47:55 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-03-12 18:54:25 +0100 |
| commit | 460753f991ca42c3c4a5ed494038db76c55e2a08 (patch) | |
| tree | 4f8976929b79a6d6b63a9e1675cdd0f1e3021e41 /apt-pkg/solver3.h | |
| parent | a4ce187b40f3bbd110a7cc35f9a5af5a8b7b0c9e (diff) | |
solver3: Fix test-resolve-by-keep-new-recommend
Reorder the if branches a bit to simplify the understanding
of the promotions, and allow us to keep track of which
dependency existed in the installed version.
Change the rule for promoting new recommends to only promote
new recommends to depends in *upgrade* and not *dist-upgrade*
per the test-resolve-by-keep-new-recommends test case.
This makes some sense: In a dist-upgrade, the solver could
otherwise decide to remove an installed package if both the
following hold:
(1) something needs the upgraded version | something else
(2) the upgraded version is not installable due to unsat recommends
Diffstat (limited to 'apt-pkg/solver3.h')
0 files changed, 0 insertions, 0 deletions
