Red Hat Bugzilla – Bug 170364
Installer crashes using kickstart with excluded packages
Last modified: 2007-11-30 17:11:14 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc3 Firefox/1.0.6
Description of problem:
I'm trying to get a desktop kickstart file up and running for FC4, but the installer kept crashing after "Reading Package Information" (complete error below). After testing, it appears that this occurs whenever the kickstart file specifies a specific package -not- to install (which, for example, the generated anaconda-ks.cfg from my manual install included).
File "/usr/bin/anaconda", line 1160 in ?
File "/usr/bin/anaconda/gui.py", line 770, in run
File "/usr/bin/anaconda/gui.py", line 1325, in run
File "/usr/bin/anaconda/gui.py", line 1314, in setup_window
File "/usr/bin/anaconda/gui.py", line 1149, in setScreen
(step, args) = self.dispatch.currentStep()
File "/usr/bin/anaconda/dispatch.py", line 279, in currentStep
File "/usr/bin/anaconda/dispatch.py", line 174, in gotoNext
File "/usr/bin/anaconda/dispatch.py", line 242, in moveStep
rc = apply(func, self.bindArgs(args))
File "/usr/bin/anaconda/packages.py", line 207, in readPackages
File "/usr/bin/anaconda/kickstart.py", line 1559, in setGroupSelection
pkgs = grpset.hdrlist.pkgnames[name]
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a kickstart file with the following %packages section
2. Install using the kickstart file.
Actual Results: The crash message cited above.
Expected Results: The system should have installed without the evolution package.
The entire anaconda-generated kickstart from my manual install will be attached, it crashes unless all the package exclusion lines are removed from the kickstart file.
I can work around this for now by placing suitable "rpm -e package" commands in %post, but it's a waste of my time and bandwidth.
Created attachment 119790 [details]
Anaconda generated kickstart that crashes
*** This bug has been marked as a duplicate of 160209 ***