diff --git a/libdnf5/rpm/solv/goal_private.cpp b/libdnf5/rpm/solv/goal_private.cpp index 78477b3f2..704d01cf1 100644 --- a/libdnf5/rpm/solv/goal_private.cpp +++ b/libdnf5/rpm/solv/goal_private.cpp @@ -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; }