我曾经遇到过执行#system-config-kickstart时出现两种错误
一  /[root@server /]# system-config-kickstart 
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Traceback (most recent call last):
  File "/usr/bin/system-config-kickstart", line 82, in ?
    kickstartGui.kickstartGui(file)
  File "/usr/share/system-config-kickstart/kickstartGui.py", line 171, in __init__
    self.packages_class = packages.Packages(xml, self.kickstartData)
  File "/usr/share/system-config-kickstart/packages.py", line 172, in __init__
    self.y = sckYumBase(pbar)
  File "/usr/share/system-config-kickstart/packages.py", line 147, in __init__
    self.doGroupSetup()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 520, in doGroupSetup
    return self._getGroups()
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 581, in _getGroups
    raise Errors.GroupsError, _('No Groups Available in any repository')
yum.Errors.GroupsError: No Groups Available in any repository
[root@server /]# 
而点击系统工具-kickstart,打开后跳出retrieving package information后就自动关闭窗口了
 
 
二/ 可以打开kickstart图形界面,但是不能选择安装包
 
***我曾经执行 #yum clean all后正常了***
 
但是此方法有时也不灵;
还有一方法:
在/etc/yum.repos.d中把rhel-debuginfo.repo改名后再新建一个repo文件,如server.repo
#vi server.repo
[Server]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///home/install/Server
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[VT]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///home/install/VT
enabled=1
gpgcheck=0
[Cluster]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///home/install/Cluster
enabled=1
gpgcheck=0
[ClusterStorage]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=file:///home/install/ClusterStorage
enabled=1
gpgcheck=0
 
#rm -rf *.html
#cd Server/repodata
#rm -rf TRANS.TBL
#cd VT/repodata
#rm -rf TRANS.TBL
#createrepo -g /home/install/Server/repodata/comps-rhel5-server-core.xml   /home/install/Server/  建库
等建完库再把server.repo该为server;  把刚改名的rhel-debuginfo.repo改为系统默认名称