Solved

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

Posted on 2011-02-14
8
965 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

 
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 500 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

Get HTML5 Certified

Want to be a web developer? You'll need to know HTML. Prepare for HTML5 certification by enrolling in July's Course of the Month! It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

623 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