[root@rhel01 repodata]# yum grouplist
Loaded plugins: refresh-packagekit, rhnplugin
Repository 'base-local' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Error: No group data available for configured repositories
My local repo is located in /var/www/html/yum/base and mounted RHEL 6 DVD in /mnt/dvd
[root@rhel01 base]# createrepo -g /mnt/dvd/Server/repodata/1a7fc54d30d0d44222742c63069ab0126afef9f160931cc15e564dbe6414f268-comps-rhel6-Server.xml /var/www/html/yum/base
2070/3431 - libgnomeui-2.24.1-4.el6.x86_64.rpm
iso-8859-1 encoding on Ville Skyttä- 2.8.2-2
3431/3431 - libgpod-0.7.2-6.el6.i686.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
[root@rhel01 base]# yum clean all && yum makecache
Loaded plugins: refresh-packagekit, rhnplugin
Repository 'base-local' is missing name in configuration, using id
Cleaning up Everything
Loaded plugins: refresh-packagekit, rhnplugin
Repository 'base-local' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
base-local | 2.0 kB 00:00
base-local/filelists | 3.3 MB 00:00
base-local/primary | 1.6 MB 00:00
base-local/other | 1.5 MB 00:00
base-local/group_gz | 191 kB 00:00
base-local 3431/3431
base-local 3431/3431
base-local 3431/3431
Metadata Cache Created
[root@rhel01 base]# yum grouplist
Loaded plugins: refresh-packagekit, rhnplugin
Repository 'base-local' is missing name in configuration, using id
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Installed Groups:
Additional Development
Arabic Support
Armenian Support
Base
Console internet tools
Debugging Tools
Desktop
Dial-up Networking Support
Directory Client
..results truncated..
Works perfectly....thanx a lot
ReplyDeletesame error...............
ReplyDeleteroot@oc3154788540 Packages]# createrepo -g /home/ibm/my\ repo/Server/repodata/21f8a36d9bca1b5b606702c5ce46b65017360348cace161b7910e0dfaa3cb087-comps-rhel6-Server.xml /home/ibm/rep
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
[root@oc3154788540 Packages]# yum clean all && yum makecache
Loaded plugins: downloadkvmonly-background, downloadonly-background, ibm-check-lotus-updates, ibm-repo-
: checker, ibm-repository, refresh-packagekit, security, versionlock
Your system is not registered yet.
Starting IBM Registration tool.
Cleaning repos: slc5-devtoolset slc6-devtoolset
Cleaning up Everything
Loaded plugins: downloadkvmonly-background, downloadonly-background, ibm-check-lotus-updates, ibm-repo-
: checker, ibm-repository, refresh-packagekit, security, versionlock
Your system is not registered yet.
Starting IBM Registration tool.
slc5-devtoolset | 2.2 kB 00:00
slc5-devtoolset/filelists_db | 188 kB 00:00
slc5-devtoolset/primary_db | 84 kB 00:00
slc5-devtoolset/other_db | 52 kB 00:00
slc6-devtoolset | 2.6 kB 00:00
slc6-devtoolset/filelists_db | 544 kB 00:01
slc6-devtoolset/primary_db | 165 kB 00:00
slc6-devtoolset/other_db | 111 kB 00:00
Metadata Cache Created
[root@oc3154788540 Packages]# yum grouplist
Loaded plugins: downloadkvmonly-background, downloadonly-background, ibm-check-lotus-updates, ibm-repo-
: checker, ibm-repository, refresh-packagekit, security, versionlock
Your system is not registered yet.
Starting IBM Registration tool.
Setting up Group Process
Error: No group data available for configured repositories