summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2025-02-05 21:31:53 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2025-02-14 19:04:56 +0100
commitb8918cb89ada945d92c720446177f1ef5185b5a5 (patch)
tree4184c110c85e04d55dd71a6f5b0b440624e671a7 /apt-pkg/depcache.cc
parenta9587b39ea6776b1d1324288786176102f65cee5 (diff)
solver3: Reject reverse dependencies natively
Instead of utilizing the reverse depends functionality of the cache and marking all possible reverse dependencies for removal, mark them ourselves by keeping track of reverse-implication-clauses. Notably, this improves the reverse dependency rejection substantially: The previous RejectReverseDependencies() function did not handle Provides. For this to work correctly right now, we need to discover optional clauses too when queuing them. This is somewhat suboptimal as we technically we don't care if they become unsat, we just waste time tracking them. The tests get a bit awkward, but oh well, we use what we can use.
Diffstat (limited to 'apt-pkg/depcache.cc')
0 files changed, 0 insertions, 0 deletions