Skip to content

Commit

Permalink
Revert "Use focusbest: prefer latest deps versions over smaller trans…
Browse files Browse the repository at this point in the history
…actions"

This reverts commit 2d9df1c.
  • Loading branch information
kontura committed Jan 30, 2024
1 parent e5786a8 commit f15fbea
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libdnf5/rpm/solv/goal_private.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,9 +407,6 @@ libdnf5::GoalProblem GoalPrivate::resolve() {
libsolv_solver.set_flag(SOLVER_FLAG_ALLOW_VENDORCHANGE, vendor_change);
libsolv_solver.set_flag(SOLVER_FLAG_DUP_ALLOW_VENDORCHANGE, vendor_change);

// Ensure the solver tries to use the latest versions of dependencies, even if it results in a bigger transaction
libsolv_solver.set_flag(SOLVER_FLAG_FOCUS_BEST, 1);

if (libsolv_solver.solve(job)) {
return libdnf5::GoalProblem::SOLVER_ERROR;
}
Expand Down

0 comments on commit f15fbea

Please sign in to comment.