Description of problem: Yum fails installing MRG beta reporting the error: http://ftp.redhat.com/pub/redhat/linux/beta/MRG/RHEL- 5/i386/repodata/repomd.xml: [Error 4] IOError: <urlopen error (-2, 'Name or service not known') > Trying other mirror. Error: Cannot open/read repomd.xml file for respository: mrg-beta Version-Release number of selected component (if applicable): mrg-beta, i386 How reproducible: Yes. Steps to Reproduce: 1.#yum install rt-setup 2. 3. Actual results: http://ftp.redhat.com/pub/redhat/linux/beta/MRG/RHEL- 5/i386/repodata/repomd.xml: [Error 4] IOError: <urlopen error (-2, 'Name or service not known') > Trying other mirror. Error: Cannot open/read repomd.xml file for respository: mrg-beta Expected results: Install. Additional info:
Is it possible that your name server couldn't resolve ftp.redhat.com? This doesn't look like an issue with the repository, but rather an issue with resolution of the web site. The files appear to be there and the URL looks proper from here. As a temporary workaround, you can replace ftp.redhat.com with the address 209.132.176.30 in /etc/yum.repos.d/mrg-beta.repo # host ftp.redhat.com ftp.redhat.com has address 209.132.176.30
I can run #nslookup ftp.redhat.com, which returns 209.132.176.38. I updated the /etc/yum.repos.d/mrg-beta.repo in vi ":1,$s/ftp.readhat.com/209.132.176.38/g" a got a similiar error message http://209.132.176.38/pub/redhat/linux/beta/MRG/RHEL- 5/i386/repodata/repomd.xml: [Error 4] IOError: <urlopen error (-2, 'Name or service not known') > Trying other mirror. Error: Cannot open/read repomd.xml file for respository: mrg-beta If I put "http://ftp.redhat.com/pub/redhat/linux/beta/MRG/RHEL- 5/i386/repodata/repomd.xml" in my browser I get the repomd.xml page... <?xml version="1.0" encoding="UTF-8" ?> - <repomd xmlns="http://linux.duke.edu/metadata/repo"> - <data type="other"> <location href="repodata/other.xml.gz" /> <checksum type="sha">6df0f209c4e066f659a0be7d6dfa5c5f4a89e737</checksum> <timestamp>1213382893</timestamp> <open-checksum type="sha">c26d18efd2d6b8f5226a379f24ed3b8bd33a681e</open- checksum> </data> - <data type="filelists"> <location href="repodata/filelists.xml.gz" /> <checksum type="sha">e4861d3468416c36f43364097639824119585845</checksum> <timestamp>1213382893</timestamp> <open-checksum type="sha">b250dccb0fe01c7adc60a28c30ef7522374580f8</open- checksum> </data> - <data type="primary"> <location href="repodata/primary.xml.gz" /> <checksum type="sha">1e2a1dd4161bf9433397a3f75d2f1e14fbd8080f</checksum> <timestamp>1213382893</timestamp> <open-checksum type="sha">fe0071c114afbd572b84deeb8b9e41435e6915fa</open- checksum> </data> - <data type="group"> <location href="repodata/comps-rhel5-mrg.xml" /> <checksum type="sha">5c23a838f0e423f07a9f84be7ec7a190bcd4d25b</checksum> <timestamp>1213286494</timestamp> </data> </repomd> If can also go view the directory "http://ftp.redhat.com/pub/redhat/linux/beta/MRG/RHEL- 5/i386/repodata/" If can also view "http://linux.duke.edu/metadata/"
We are in the process of closing the beta and taking down the beta repository.
I had set the proxy for the Software Updater and the Firefox browser, but did not set the proxy for yum. I added the proxy to the /etc/yum.conf file and things are working.