Red Hat Bugzilla – Bug 158370
package exclusion on mulitlib platform only removes primary arch package
Last modified: 2012-06-20 12:02:33 EDT
Description of problem:
When specifying packages by name to be excluded in %packages (eg: '-mozilla')
anaconda only excludes the primary arch package. For example, if you specify the
following lines on x86_64:
you will end up with i386 mozilla packages, but not x86_64.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. select @Everything on an x86_64, then manually deselect mozilla-* (as above)
2. run the install and reboot
3. check for mozilla packages on the system
Primary arch mozilla packages were successfully excluded, but compat arch pkgs
are still there
No mozilla packages whatsoever should be on the system
I realize this is almost debatable semantically, but not quite IMHO; If someone
says "I want mozilla" on a multilib system that doesn't imply they want it in
all available arches. OTOH if they say "I don't want mozilla" on the same system
they surely mean just that, which means no mozilla packages of any arch.
Created attachment 114655 [details]
exclude all arches of excluded packages plus a little cleanup of existing code
Fixed on HEAD.
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life.
Please See https://access.redhat.com/support/policy/updates/errata/
If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.