I recovered a old HP Proliant ML110 G5 server. I formatted the disks and I re-installed the operating system CentOS 5.11. When I try to install some programs or do other operation I often receive the following error:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
For example, when I try to upgrade yum by command line I obtain this result:
[root@localhost ~]# yum upgrade
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
Eg. Invalid release/repo/arch combination/
* c5-media:
http://mirror.centos.org/centos/5/os/x86_64/repodata/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
I tried several solutions I found by Google, but I've not been yet able to solve this problem.