You may encounter an error in yum if you type the following command :
[root@ora ~]# yum grouplist
Error: No group data available for configured repositories.
In order to solve this problem do the following:
Copy your entire dvd to any location in your system
and configure yum.
I have copied my entire DVD to the
‘/var/ftp/pub/repo/’ directory.
And I have already configured yum.
In order to enable group list feature execute the following.
[root@ora ~]# createrepo –g /var/ftp/pub/repo/server/repodata/21f8a36d9
bca1b5b606702c5ce46b65017360348cace161b7910edfaa3cb087
-comps-rhel6-Server.xml var/ftp/pub/repo/Packages
# The starting filename in the repodata folder can be anything
# but you have to select the one which ends
# with ‘-comps-rhel6-Server.xml’.
Clean all the yum cache
[root@ora ~]# yum clean all
Make the cache again.
[root@ora ~]# yum makecache
Check if the grouplist feature is working.
[root@ora ~]# yum grouplist
Comments
Post a Comment