-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update(): honor multilib_policy for obsoletes. BZ 1477574
When a package migrates from noarch to arch during an update, we usually don't want to install all the newly available multilib arches. For "yum install", this is already controlled by multilib_policy, even if the noarch package is already installed (since yum will try to update it). However, with "yum update", multilib_policy isn't checked. This commit adds the check to update() so that "yum update" works the same as "yum install" in the noarch->arch scenario. Tests calling "update" without arguments now need to specify multilib_policy='all'.
- Loading branch information
Showing
2 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters