summaryrefslogtreecommitdiff
path: root/test/integration/solver3.broken
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-03-12 18:47:55 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-03-12 18:54:25 +0100
commit460753f991ca42c3c4a5ed494038db76c55e2a08 (patch)
tree4f8976929b79a6d6b63a9e1675cdd0f1e3021e41 /test/integration/solver3.broken
parenta4ce187b40f3bbd110a7cc35f9a5af5a8b7b0c9e (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 'test/integration/solver3.broken')
-rw-r--r--test/integration/solver3.broken1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/integration/solver3.broken b/test/integration/solver3.broken
index 4a4e1532b..0e2005d60 100644
--- a/test/integration/solver3.broken
+++ b/test/integration/solver3.broken
@@ -3,6 +3,5 @@ test-apt-get-upgrade-by-source # TBD: Upgrading by
test-apt-install-order-matters-a-bit # Wontfix: Cannot fix, the order is not recorded in the depcache
test-bug-470115-new-and-tighten-recommends # TBD: Calculation of what is already satisfied Recommends is broken
test-prevent-markinstall-multiarch-same-versionscrew # TBD: We consider the skewed ones obsolete and remove them...
-test-resolve-by-keep-new-recommends # TBD: Fixing this seems to break test-bug-591882-conkeror, why?
test-resolve-by-keep-obsolete-removals # TBD: ResolveByKeep() usage is badly aligned here
test-ubuntu-bug-1304403-obsolete-priority-standard # TBD: Solver3 here happily removes 10 deps to upgrade a package