From f870bd44522d195199987b0e073d495eed060495 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 5 Feb 2025 20:11:35 +0100 Subject: solver3: Defer version selection where possible If a dependency can be satisfied by all versions of a package, add the package to the clause instead of the version object. This works only if there are no providers for the package: Providers are quite hard to enumerate over and make sure that all versions of a package satisfy the provider dependency. Implement arbitrary selection between packages and versions for the CompareProviders class: We pick the best version for each package and then pit them against each other. --- doc/examples/configure-index | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/examples') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index ba51a9881..1573eaa8b 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -698,6 +698,7 @@ apt::list-cleanup ""; apt::authentication::trustcdrom ""; apt::solver::strict-pinning ""; apt::solver::enqueue-common-dependencies ""; +apt::solver::defer-version-selection ""; apt::solver::upgrade ""; apt::solver::remove ""; apt::solver::removemanual ""; -- cgit v1.2.3-70-g09d2