oly_r |
02-28-2013 11:28 AM |
yum repo issue with iso disk1 and disk2
I have the Centos 6.3 iso's mounted as a loop to 64bitCentOS/disk1 and 64bitCentOS/disk2. the disk 2 iso hasn't been mounted in the past. The yum repo for base
Code:
[base]
name=CentOS-$releasever - Base
baseurl=http://YumSvr/64bitCentOS/disk1
gpgcheck=1
gpgkey=file:///yada/yada/yada/RPM-GPG-KEY-CentOS-6
I've tried a few settings in the repo file including one that seemed to actually work even though it showed an error. That setup is
Code:
[base]
name=CentOS-$releasever - Base
baseurl=http://YumSvr/64bitCentOS/disk1
baseurl=http://YumSvr/64bitCentOS/disk2
gpgcheck=1
gpgkey=file:///yada/yada/yada/RPM-GPG-KEY-CentOS-6
The error i get is:
Code:
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
http://YumSvr/64bitCentOS/disk2/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404"
Trying other mirror
updates
Setting up Install Process
...
Disk2 does not have a repomd.xml so the error is correct. But it then goes on to load the packages that are only in the disk2 Packages. If i leave out any mention of disk2 in the CentOS-Base.repo it shows the disk2 packages (disk1 repodata list them) but fails to find them in disk1's hierarchy.
What is the proper way to point to the disk2 structure (if there is one) since the iso doesn't have a repomd file of its own.
Thanks Rick.
|