Link to home
Start Free TrialLog in
Avatar of sudhirgoogle
sudhirgoogle

asked on

Kickstart configurator (system-config-kickstart) Package selection not working

Hello Experts,
I am using RHEL 5.3, using system-config-kickstart to configure the kickstart file, in 'package selection' i am not getting the packages list from the yum repository, how can i get the the package list here. Please take a look at attached snapshot for better understanding about the issue i am facing.

Note: I am able to install packages from yum repository.
ks.JPG
Avatar of farzanj
farzanj
Flag of Canada image

My guess would be that you don't have any repository configured properly.
Second: Do you know that system-config-kickstart does NOT show all the packages.  It only shows the groups.

SOLUTION
The best was to sort out your problem is to generate as much file as you can and then manually add the package names you want.  This is the way I always did because as I said above it does not show all the packages, in case you expected those to appear.

This fix is very simple.  All you need to do is this.  Save the configuration file.  Open it up with a text editor of your liking and then in the packages portion write your package names.

You can write the group names and then do as follows:
<GROUP NAME>
- package included in the default but you don't want it
+ package not included in the default but you want it
Avatar of sudhirgoogle
sudhirgoogle

ASKER

Thanks for your response. I am pretty sure the yum is configured properly because i am able to install the packages, infact i installed system-config-kickstart package from yum repository.

I am aware of manually adding those entries. i want to make it work from GUI tool, i want to know the reason why it didn't picking up the package group list from yum repository.

Its fine with me if it shows only the package groups, how can i make it visible in kickstart configurration tool ??

Ok.

Under your repository, do:

less on comps.xml file.

Make sure it exists and your userid has permissions to view it.
do you want me to check in Yum repository server ??  or the machine where i am trying kickstart configuration tool ?? Can you please provide complete path to the file ??
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Just as I thought.

system-config-kickstart is supposed to read the yum header information.  If for whatever reason it cannot read the file I mentioned above, it would cause this problem.

Please look at the second last post on the following message and let me know if it solves your problem.


http://www.linuxquestions.org/questions/linux-server-73/kickstart-configurator-problem-red-hat-enterprise-linux-server-5-a-588682/

Please let me know.
Thanks, I will test this and update.
I was not able to validate your solution since the machine was rebuild.