I have inherited numerous CentOS servers at my new job tha trange from version 5 to 7 and couldn't being to tell you when the last time they were patched.
I went to install auditd on a CentOS 5.9 box and foudn yum was broken. After removing the repo and reinstalling the default repos, I still get the same errors. I've run yum clean all then tried to install the package. No luck.
Any help would be appreciated. Below is the error.
# yum update check
Loaded plugins: fastestmirror, security
Determining fastest mirrors
* addons: repo.us.bigstepcloud.com
* base: mirror.cs.vt.edu
* c5-media:
* epel: mirrors.rit.edu
* extras: centos.vwtonline.net
* updates: mirror.hostduplex.com
http://repo.us.bigstepcloud.com/cent...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
addons | 1.9 kB 00:00
addons/primary_db | 1.1 kB 00:00
http://mirror.cs.vt.edu/pub/CentOS/5...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirrors.kernel.org/centos/5.1...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.steadfast.net/centos/5...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
base | 4.7 kB 00:00
http://mirror.lax.hugeserver.com/cen...ta/repomd.xml: [Errno -1] Error importing repomd.xml for base: Damaged repomd.xml file
Trying other mirror.
http://mirrors.arsc.edu/centos/5.11/...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.keystealth.org/centos/...ta/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
Trying other mirror.
http://repos.mia.quadranet.com/cento...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.trouble-free.net/cento...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.hmc.edu/centos/5.11/os...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
http://mirror.vcu.edu/pub/gnu%2Blinu...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again