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:
parent
cfe3c38801
commit
bb05c49822
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue