Bug 170364 - Installer crashes using kickstart with excluded packages
Installer crashes using kickstart with excluded packages
Status: CLOSED DUPLICATE of bug 160209
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Anaconda Maintenance Team
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2005-10-10 20:32 EDT by Bevan Bennett
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-10 21:59:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Anaconda generated kickstart that crashes (1.90 KB, text/plain)
2005-10-10 20:33 EDT, Bevan Bennett
no flags Details

  None (edit)
Description Bevan Bennett 2005-10-10 20:32:21 EDT
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 ?
  intf.run(id, dispatch)
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
  id.instClass.setGroupSelection(grpset, intf)
File "/usr/bin/anaconda/kickstart.py", line 1559, in setGroupSelection
  pkgs = grpset.hdrlist.pkgnames[name]
KeyError: "

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

How reproducible:

Steps to Reproduce:
1. Create a kickstart file with the following %packages section

@ office
@ engineering-and-scientific
@ editors
@ emacs
@ gnome-software-development
@ text-internet
@ x-software-development
@ gnome-desktop
@ authoring-and-publishing
@ games
@ emacs
@ base-x
@ graphics
@ printing
@ admin-tools
@ development-tools
@ sound-and-video
@ graphical-internet

2. Install using the kickstart file.

Actual Results:  The crash message cited above.

Expected Results:  The system should have installed without the evolution package.

Additional info:

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.
Comment 1 Bevan Bennett 2005-10-10 20:33:41 EDT
Created attachment 119790 [details]
Anaconda generated kickstart that crashes
Comment 2 Chris Lumens 2005-10-10 21:59:13 EDT

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

Note You need to log in before you can comment on or make changes to this bug.