how to create a rhel 5 cd/dvd repo
did the following steps
rpm -ihv createrepo-0.4.4-2.fc6.noarch.rpm
mkdir /home/rhel
mount /dev/cdrom /mnt
createrepo -vpo /home/rhel /mnt/Server
cat yum.repos.d/DVD.repo
[DVD REPO]
name=RHEL4 DVD
baseurl=file:///home/rhel/
enabled=1
gpgcheck=1
[root@linux-home yum.repos.d]# yum install expect
Loading "security" plugin
Loading "installonlyn" plugin
Loading "rhnplugin" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for expect to pack into transaction set.
file:///home/rhel/expect-5.43.0-5.1.i386.rpm: [Errno 5] OSError: [Errno 2] No such file or directory: '/home/rhel/expect-5.43.0-5.1.i386.rpm'
Trying other mirror.
Error: failure: expect-5.43.0-5.1.i386.rpm from DVD REPO: [Errno 256] No more mirrors to try.
what iam doing wrong ?
|