[CentOS] Unable to get software using Yum

Thu Apr 1 04:37:56 UTC 2010
Jatin Davey <jashokda at cisco.com>

Hi

I am new to CentOS and been into Linux for about 3 months now. I first 
started off with fedora and also trying my hands on CentOS now. 
Basically i used yum to download softwares on the fedora box. I mainly 
require the snmp agent for my linux boxes so as to test my network 
management product. On some of the CentOS boxes the following command 
worked for me :

yum install net-snmp

it installed the snmp agent for me but on others i am finding it hard to 
install. Basically , this is what i get :

[root at centos-64-xxx ~]# yum install net-snmp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
  * base: mirror.nyi.net
  * updates: mirror.nyi.net
  * addons: centos.corenetworks.net
  * extras: centos.corenetworks.net
ftp://mirror.nyi.net/centos/5.3/os/x86_64/repodata/repomd.xml: [Errno 4] 
IOError: [Errno ftp error] timed out
Trying other mirror.
http://centos.corenetworks.net/5.3/os/x86_64/repodata/repomd.xml: [Errno 
14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.linux.ncsu.edu/pub/CentOS/5.3/os/x86_64/repodata/repomd.xml: 
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://ftp.lug.udel.edu/pub/centos/5.3/os/x86_64/repodata/repomd.xml: 
[Errno 14] HTTP Error 404: Not found
Trying other mirror.
http://mirror.cs.vt.edu/pub/CentOS/5.3/os/x86_64/repodata/repomd.xml: 
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.icpl.org/centos/5.3/os/x86_64/repodata/repomd.xml: [Errno 
14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.newnanutilities.org/pub/centos/5.3/os/x86_64/repodata/repomd.xml: 
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.unl.edu/centos/5.3/os/x86_64/repodata/repomd.xml: [Errno 
14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.bluehost.com/centos/5.3/os/x86_64/repodata/repomd.xml: 
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
base                                                                                                  
| 1.3 kB     00:00
http://www.cyberuse.com/centos/5.3/os/x86_64/repodata/repomd.xml: [Errno 
-1] Error importing repomd.xml for base: Damaged repomd.xml file
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: 
base. Please verify its path and try again


This is what i found in the /etc/yum.repos.d directory:

[root at centos-64-xxxx ~]# cd /etc/yum.repos.d/
[root at centos-64-xxxx yum.repos.d]# ls
CentOS-Base.repo  CentOS-Media.repo
[root at centos-64-xxxx yum.repos.d]#

  Can some one please help me in this regard.

Thanks
Jatin