[root@localhost ~]# cat /etc/yum.repos.d/rhel-dvd.repo
[rhel-dvd]
name=Red Hat Enterprise Linux DVD
baseurl=file:///mnt/rheldvd/Server
enabled=1
gpgcheck=0
The DVD is automatically mounted in the directory with spaces, which are not accepted in baseur. The following sym link resolves the issue.
[root@localhost ~]# ln -s /media/RHEL_5.4\ i386\ DVD/ /mnt/rheldvd
Then yum update processes the repo data.
[root@localhost ~]# yum update
No comments:
Post a Comment