[root@ogg yum.repos.d]# yum update
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Cluster | 0 B 00:00
file:///mnt/Cluster/repodata/repomd.xml: [Errno 4] IOError: [Errno 5] Input/output error
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: Cluster. Please verify its path and try again
挂载的iso有问题,重新挂载下就会正常!
[root@ogg yum.repos.d]# more /mnt/Cluster/repodata/repomd.xml
[root@ogg yum.repos.d]#
[root@ogg mnt]# cat /mnt/Cluster/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
<data type="other">
<location xml:base="media://1269263646.691048#1" href="repodata/other.xml.gz"/>
<checksum type="sha">8a4a53094a7b66c7a9d81e6d9d9924fb901fa561</checksum>
<timestamp>1269264787</timestamp>
<open-checksum type="sha">46c19d47da55115d9de978d0b5e3cccc1924fe1f</open-checksum>
</data>
<data type="filelists">
<location xml:base="media://1269263646.691048#1" href="repodata/filelists.xml.gz"/>
<checksum type="sha">37472fc0016ff6bd20d69ac51ec54eb92d14b3aa</checksum>
<timestamp>1269264787</timestamp>
<open-checksum type="sha">8d3daa0f2b289c178b6a9d09fdeed6e7c1664092</open-checksum>
</data>
<data type="primary">
<location xml:base="media://1269263646.691048#1" href="repodata/primary.xml.gz"/>
<checksum type="sha">b33a9b8d6e7e7b8e0b3fc46948dd518a1bf27633</checksum>
<timestamp>1269264787</timestamp>
<open-checksum type="sha">84a5f09b6a152115b1a339e41e63c31c7959c336</open-checksum>
</data>
<data type="group">
<location xml:base="media://1269263646.691048#1" href="repodata/comps-rhel5-cluster.xml"/>
<checksum type="sha">300d1cb0598ad5bc9e48e89d883e01c2fe8eec44</checksum>
<timestamp>1269263204</timestamp>
</data>
</repomd>
对比很明显了,不要被表面的文件所迷惑
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Cluster | 0 B 00:00
file:///mnt/Cluster/repodata/repomd.xml: [Errno 4] IOError: [Errno 5] Input/output error
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: Cluster. Please verify its path and try again
挂载的iso有问题,重新挂载下就会正常!
[root@ogg yum.repos.d]# more /mnt/Cluster/repodata/repomd.xml
[root@ogg yum.repos.d]#
[root@ogg mnt]# cat /mnt/Cluster/repodata/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
<data type="other">
<location xml:base="media://1269263646.691048#1" href="repodata/other.xml.gz"/>
<checksum type="sha">8a4a53094a7b66c7a9d81e6d9d9924fb901fa561</checksum>
<timestamp>1269264787</timestamp>
<open-checksum type="sha">46c19d47da55115d9de978d0b5e3cccc1924fe1f</open-checksum>
</data>
<data type="filelists">
<location xml:base="media://1269263646.691048#1" href="repodata/filelists.xml.gz"/>
<checksum type="sha">37472fc0016ff6bd20d69ac51ec54eb92d14b3aa</checksum>
<timestamp>1269264787</timestamp>
<open-checksum type="sha">8d3daa0f2b289c178b6a9d09fdeed6e7c1664092</open-checksum>
</data>
<data type="primary">
<location xml:base="media://1269263646.691048#1" href="repodata/primary.xml.gz"/>
<checksum type="sha">b33a9b8d6e7e7b8e0b3fc46948dd518a1bf27633</checksum>
<timestamp>1269264787</timestamp>
<open-checksum type="sha">84a5f09b6a152115b1a339e41e63c31c7959c336</open-checksum>
</data>
<data type="group">
<location xml:base="media://1269263646.691048#1" href="repodata/comps-rhel5-cluster.xml"/>
<checksum type="sha">300d1cb0598ad5bc9e48e89d883e01c2fe8eec44</checksum>
<timestamp>1269263204</timestamp>
</data>
</repomd>
对比很明显了,不要被表面的文件所迷惑