diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-05 20:11:35 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-02-14 19:04:56 +0100 |
| commit | f870bd44522d195199987b0e073d495eed060495 (patch) | |
| tree | 95712c5a45e6118e5a3d787b82a735a5c68bc4bf /apt-pkg/statechanges.cc | |
| parent | 50f1335212909962b9bba8db74e8be005a55f4e1 (diff) | |
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.
Diffstat (limited to 'apt-pkg/statechanges.cc')
0 files changed, 0 insertions, 0 deletions
