summaryrefslogtreecommitdiff
path: root/test/integration/solver3.broken
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2026-02-17 10:28:17 +0100
committerJulian Andres Klode <jak@debian.org>2026-02-17 10:28:17 +0100
commit9f3ecca2b32e4fe56a05811392e01416092f85fa (patch)
tree9b82dec92f02559b91a2cf307044ecedcde4ab34 /test/integration/solver3.broken
parent1275e2e0ec45e9cdbfeedfa2c069274d80499fa8 (diff)
solver3: Upgrade by source package
Implement the "APT::Get::Upgrade-By-Source-Package" option as the classic solver does. Here this is equally straight forward now: We enqueue optional, but eager, clauses of the form foo=2 -> foo-data=2 for each sibling in the source version, assuming they are currently installed, and the selection is not the current version. This softly enforces upgrades of already installed siblings, but in non-strict-pinning mode it will not affect the selection of new packages to be installed. A more complete solution to version selection by source package also seems feasible, where we change the "priority" of versions in the solver dynamically - currently they are statically evaluated. Such that, when you select foo=2, and something installs foo-data, foo-data would be installed in version 2 even if version 3 were its candidate.
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 0e2005d60..671e49dd8 100644
--- a/test/integration/solver3.broken
+++ b/test/integration/solver3.broken
@@ -1,5 +1,4 @@
test-allow-scores-for-all-dependency-types # TBD: We are lacking single-sided conflicts preferences
-test-apt-get-upgrade-by-source # TBD: Upgrading by source is not supported yet, mostly same issue as above
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...