Description of problem: i386 and x86_64 packages are included on the CD's. This causes problems in the rpm database where the packages cannot be removed via kickstart. Related KD article: http://kbase.redhat.com/faq/FAQ_80_7582.shtm. Version-Release number of selected component (if applicable): Red Hat Enterprise Linux Server 5 x86_64 How reproducible: Always. Steps to Reproduce: 1. Install minimal system via kickstart with no additional packages. 2. Specify packages to be removed in %packages section of kickstart file. 3. Build server using kickstart file Actual results: Some of the packages that was supposed to be removed is present. There are actually two packages installed - an i386 version and an x86_64 version. Expected results: Package that was supposed to be removed is not installed. Additional info: *** Workaround *** Use the RPM invocation in the KB (http://kbase.redhat.com/faq/FAQ_80_7582.shtm) to extract version numbers and remove packages after installation. See example below. This takes away the power of the %packages ability of kickstart. We should be able to define packages that we want removed during build time and not have to write scripts to remove packages because multiple architecture packages are simultaneously installed. Line added to %post: rpm -qa --queryformat %{NAME}-%{VERSION}.%{ARCH}\\n | egrep "packages|to|delete" | xargs rpm -e
This is a kickstart/anaconda, not rpm issue. Reassigning...
Please attach your kickstart file (you can remove sensitive information if present, just as long as we can see the %packages and whatever scripts you are using to manipulate the packages) to this bug report.
Did not keep old ks file. Unable to reproduce -- it worked fine today.