Fix: add_up_down_distrosync_to_goal: to_repo_ids filtering

When we want distrosync to only use specified repositories for certain
packages, we shouldn't include their already installed versions. If
we did, distr-sync wouldn't perform the necessary downgrades to
the desired package versions, leaving the currently installed versions
in place instead.
This commit is contained in:
Jaroslav Rohel 2025-06-20 10:40:34 +02:00 committed by Evan Goode
parent cfe3c38801
commit bb05c49822
1 changed files with 0 additions and 1 deletions

View File

@ -2333,7 +2333,6 @@ GoalProblem Goal::Impl::add_up_down_distrosync_to_goal(
libdnf5::Logger::Level::WARNING);
return skip_unavailable ? GoalProblem::NO_PROBLEM : GoalProblem::NOT_FOUND_IN_REPOSITORIES;
}
query |= installed;
}
// Apply advisory filters