Solved

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

Posted on 2011-02-14
8
939 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
add some character at the end of line in vi 7 79
awk file 6 53
VMware Tools Install On Linux Problem 3 61
Linux Desktop suggestion for Dell Inspiron 3043 13 39
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…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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.

777 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