Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 162115

Summary: complex kickstart package list kills anaconda install
Product: [Fedora] Fedora Reporter: Fred Bourgeois <fjb3>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-30 10:54:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
kickstart file that causes problem none

Description Fred Bourgeois 2005-06-30 00:38:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02

Description of problem:
When using a complex list of packages in a kickstart file, anaconda dies due to
package selection problems.  The anaconda-ks.cfg file is attached to this bug
report.  This file was copied verbatim from a previous interactive kickstart
installation that generated the kickstart file (on FC4).

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Boot from FC4 RescueCD
2. At boot prompt: linux ks=
ksdevice=eth1 ip= netmask= gateway=

Actual Results:  Installation ceased.

Expected Results:  Install should have proceeded normally - the package list being used is taken
directly from the anaconda-ks.cfg file generated by a previous successful
installation of fc4.

Additional info:

Traceback (most recent call last):
  File "/usr/bin/anaconda", line 1160, in ?, dispatch)
  File "/usr/lib/anaconda/", line 447, in run
    (step, args) = dispatch.currentStep()
  File "/usr/lib/anaconda/", line 279, in currentStep
  File "/usr/lib/anaconda/", line 174, in gotoNext
  File "/usr/lib/anaconda/", line 242, in moveStep
    rc = apply(func, self.bindArgs(args))
  File "/usr/lib/anaconda/", line 207, in readPackages
    id.instClass.setGroupSelection(grpset, intf)
  File "/usr/lib/anaconda/", line 1559, in setGroupSelection
    pkgs = grpset.hdrlist.pkgnames[name]
KeyError: ''

Local variables in innermost frame:
grpset: <hdrlist.GroupSet instance at 0xb79b3f8c>
intf: <text.InstallInterface instance at 0xb7afef0c>
fields: ['GConf2']
self: <kickstart.Kickstart instance at 0xb75cf90c>
n: GConf2
arch: GConf2

Comment 1 Fred Bourgeois 2005-06-30 00:48:47 UTC
Created attachment 116158 [details]
kickstart file that causes problem

Comment 2 Paul Nasrat 2005-06-30 10:54:19 UTC
This looks like a known bug fixed in rawhide.  See bug #160209 for workarounds (
use -name.arch, or how to create updates image).

*** This bug has been marked as a duplicate of 160209 ***