summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2020-04-25 11:28:47 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2020-04-27 13:44:24 +0200
commitff4555c72df967e40590d9e8c6ce83e9df4c46ea (patch)
treef2f28e384cdd1fb6796e5deb2085e127ad8024df /apt-pkg/acquire-item.h
parentaa7d2f55a0b0d683fbcd46d2a80c99957b788c3a (diff)
Explore or-groups for Recommends further than first
MarkInstall only looks at the first alternative in an or-group which has a fighting chance of being satisfiable (= the package itself satisfies the dependency, if it is installable itself is not considered). This is "hidden" for Depends by the problem resolver who will try another member of the or-group later, but Recommends are not a problem for it, so for them the alternatives are never further explored. Exploring the or-group in MarkInstall seems like the better choice for both types as that frees the problem resolver to deal with the hard things like package conflicts.
Diffstat (limited to 'apt-pkg/acquire-item.h')
0 files changed, 0 insertions, 0 deletions