Red Hat Bugzilla – Bug 426660
[RFE] Package globbing inversion in %packages does not remove packages from list.
Last modified: 2010-10-22 17:21:34 EDT
Description of problem:
The Documentation on the Web site, at
(or page 256 of the pdf guide), mentions that within the package
section, package choices can be "globbed" to match multiple
It goes on to say that packages matches can be inverted with the
negative sign before the package name.
If the user goes on to use both of these ideas at the same time
(package exclusion by globbing), kickstart fails to build the
exclusion list, therefore the packages that were originally desired
to be excluded are installed.
You would assume that this would not install packages matching the
glob,however it does not.
The anaconda log file shows:
08:48:15 DEBUG : no such package rhn*
and rpm -qa after install shows:
Steps to Reproduce:
1. Create a custom kickstart using globbing (with a negative side in front)
2. Kickstart system
3. Read anaconda.log, notice error mentioned above.
Inverted packages are installed.
Inverted package lists not to be installed.
Unsure if this worked in previous releases of RHEL.
yum will need to add support for the pattern= keyword to YumBase.remove before
we can add support for this in anaconda. There's a patch against yum HEAD to
add this support, so I'm reassigning this bug to yum for now to investigate the
possibility of backporting that patch.
This is fairly easy, pressuming we have 3.2.8 to work from.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
Development Management has reviewed and declined this request. You may appeal
this decision by reopening this request.
Ok, that was not what I wanted to do ... trying again.
This RFE has been reviewed during the RHEL RFE review
with Red Hat product management. This request has been *tentatively* approved
in the next update. This decision is not final and still pends further
technical review and scoping by Red Hat development engineering.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.