[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-02-14
8
Medium Priority
?
974 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:sudhirgoogle
  • 4
  • 4
8 Comments
 
LVL 31

Expert Comment

by:farzanj
ID: 34887525
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
0
 
LVL 1

Author Comment

by:sudhirgoogle
ID: 34887581
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 ??

0
 
LVL 31

Expert Comment

by:farzanj
ID: 34887646
Ok.

Under your repository, do:

less on comps.xml file.

Make sure it exists and your userid has permissions to view it.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:sudhirgoogle
ID: 34887672
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 ??
0
 
LVL 31

Accepted Solution

by:
farzanj earned 1500 total points
ID: 34887772
Are you using user "root"

If you are not, you may try doing that.

Second, you can use the find command

find /etc/ -name comps.xml

Further, you may want to update your yum repository headers.  Before doing this step, make sure you have access to Redhat network.

rm -r /var/cache/yum/*
Get new headers by issuing the following command
yum check-update
0
 
LVL 31

Expert Comment

by:farzanj
ID: 34888231
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.
0
 
LVL 1

Author Comment

by:sudhirgoogle
ID: 35144954
Thanks, I will test this and update.
0
 
LVL 1

Author Closing Comment

by:sudhirgoogle
ID: 37427236
I was not able to validate your solution since the machine was rebuild.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month19 days, 20 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question