Hi,
I have configure local yum repository in my red hat linux on vmware. Below are the steps i followed
- mkdir -p /root/install/RPMS
- Copy all the software/packages RPMS from instillation CD/DVD to /root/install/RPMS directory
- rpm -ivh createrepo-0.4.11-3.el5.rpm
- createrepo /root/install/RPMS
- Create a new file in /etc/yum.repo.d/file.repo
[local repo]
name= OS $release
baseurl=file://root/install/RPMS/
enabled=1
gpgcheck=0 - Save the file
While trying to install any package using the command yum install mysql
I am getting the below error
[root@localhost RPMS]# yum install nautilus
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, protect-packages, protectbase,
: rhnplugin, security, tmprepo, verify, versionlock
Bad id for repo: local repo, byte = 5
This system is not registered with RHN.
RHN support will be disabled.
Loading mirror speeds from cached hostfile
Setting up Install Process
Nothing to do
Also while trying to perform yum clean all i get below output
[root@localhost RPMS]# yum clean all
Loaded plugins: aliases, changelog, downloadonly, fastestmirror, filter-data, keys, kmod, list-data, protect-packages, protectbase,
: rhnplugin, security, tmprepo, verify, versionlock
Bad id for repo: local repo, byte = 5
Cleaning up Everything
Cleaning up list of fastest mirrors
Thanks
Chetan