LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   system-config-kickstart (https://www.linuxquestions.org/questions/linux-newbie-8/system-config-kickstart-4175661950/)

kiranus357 10-03-2019 10:27 AM

system-config-kickstart
 
Gentlemen
(cent OS 8 is the environment)

Iam new to linux just a week old ..iam trying to prepare for RHCSA ..i have a task as part of the preparation ..install redhat linux using kick start ..so as part of that lesson i was trying to use a command yum install system-config-kickstart ...running as a root user ..however i get a error message unable to find a match..


1) how do i deal with an error .. i mean what are the check points that i need to check if an installation like the above fails..

Regards
Kiran

Rickkkk 10-03-2019 03:09 PM

Hi kiranus357,

Welcome to LQ.

I'm not a CentOS/RH user, so am inexperienced with its package manager (yum). Your error message seems to indicate that the package name you used in the command doesn't exist .. Perhaps a typo ? I would check the website of the repository for CentOS.

If that confirms you have the proper package name, verify your command syntax. Yum's help function will be a good place to start, or the man(ual) page (type : man yum).

Let us know if this helps and how you make out. I'm sure our CentOS / RedHat using members can be of even more assistance if required.

Cheers.

scasey 10-03-2019 03:26 PM

We could help better if you show us the exact error message you got.
If it was "No matches found" then you have not provided the correct package name to yum.
Although
Code:

yum list system-config-kickstart
does find a match (CentOS 7) Perhaps it's not there yet in ver 8.

zepherusbane 10-03-2019 03:40 PM

Redhat has a yum cheetsheet that you might find useful: https://access.redhat.com/sites/defa...cs_print-1.pdf

I'm not a big Redhat/Centos expert, but there are a couple relevant commands in that file that might help you figure it out include the following. Here are a couple ideas.

Maybe the package isn't in any of the repositories you have configured? To see what repositories you have

Code:

yum repolist
To see what's in each repo

Code:

yum repoinfo reponame
Maybe pipe the output of the list of packages to grep to look for the specific package, something like this:

Code:

yum repoinfo reponame | grep system-config-kickstart
If you find it listed in one of the repos, there must be something else causing the problem. You said you were running the install as "a root user", do you mean you are actually root or that you used sudo? If you try to install as a normal user without using sudo it probably wouldn't work either.

Code:

sudo yum install system-config-kickstart
Is there some reason you aren't using the newer dnf instead of yum too? You might try using dnf just to see if there's something different (replace yum with dnf in your commands).

Code:

sudo dnf install system-config-kickstart


All times are GMT -5. The time now is 05:42 AM.