LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   System-config-kickstart core 5 (https://www.linuxquestions.org/questions/linux-software-2/system-config-kickstart-core-5-a-495855/)

nitrohuffer2001 10-26-2006 03:33 PM

System-config-kickstart core 5
 
:confused: Hey guys - I am having a problem when trying to run system-config-kickstart. If I attempt to run it I get the following error:

./system-config-kickstart
system-config-kickstart requires either the base or development yum repository enabled for package selection. Please enable one of these in /etc/yum.repos.d and restart the program.
Traceback (most recent call last):
File "/usr/share/system-config-kickstart/system-config-kickstart.py", line 80, in ?
kickstartGui.kickstartGui(file)
File "/usr/share/system-config-kickstart/kickstartGui.py", line 137, in __init__
self.packages_class = packages.Packages(xml, self.kickstartData)
File "/usr/share/system-config-kickstart/packages.py", line 125, in __init__
self.y = sckYumBase()
File "/usr/share/system-config-kickstart/packages.py", line 105, in __init__
sys._exit(1)
AttributeError: 'module' object has no attribute '_exit'

Does anyone know how to fix this?

Thanks in advance.

hradtke 10-26-2006 05:03 PM

yum is a prgram that uses a respository to download packages and then install them for you. a repository is a location online that contains the install files for many programs. what it is asking you to do is specify a repository.

you can do a few things:
1. from the terminal do "cat /etc/yum.repos.d"
there may be a list of repositories that are just disabled here and you need to simply edit the file to enable them.

2. go to this URL
http://www.brandonhutchinson.com/Fed...ositories.html
this link has a section called "2. Add third-party repositories to yum and apt configuration files." Scroll down till you find it and add a repository.

nitrohuffer2001 10-26-2006 11:43 PM

Thanks for the reply
 
It turns out I had to set enable=1 in the /etc/yum.repos.d/fedora-development.repo. But then strange enough I was having proxy trouble. Which is odd since I have my proxy settings exported at boot. If I did a yum update prior to making the change yum functioned as expected. Then turning on the development repo and trying a yum update I would get a 111 error saying that I could not connect. I had to actually add the proxy setting in my yum.conf file for the dev repo to work even after my proxy settings were already exported, I do not get it. After I added my proxy settings to yum.conf and did a yum update the program fired up and worked great.

Thanks for the reply


All times are GMT -5. The time now is 09:55 AM.