Error: Cannot open/read repomd.xml file for repository: rpmforge
by Jayanthi[ Edit ] 2014-08-09 12:47:54
Installation Error
Error: Cannot open/read repomd.xml file for repository: rpmforge
Any rpm package installs the linux system. Its shows below error.
[Errno 4] IOError:
http://apt.sw.be/redhat/el5/en/i386/rpmforge/repodata/repomd.xml: [Errno 4] IOError:
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: rpmforge
Run this command
ping apt.sw.be
This command shows some details.
PING apt.sw.be (193.1.193.67) 56(84) bytes of data.
64 bytes from ie.freshrpms.net (193.1.193.67): icmp_seq=1 ttl=54 time=207 ms
Copy the ip address. and open the file 'resolv.conf ' file
vim /etc/resolv.conf
Paste the ip and domain name
apt.sw.be 193.1.193.67
Save and quit the 'resolv.conf' file. Now installation process is smooth.