I cleaned yum (clean metadata, packages, all, etc...) and after that everytime I try to download or update or do something with yum I get the following error:

http://"MY IP"/install/rocks-dist/x86_64/repodata/repomd.xml: [Errno 4] IOError: Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: Rocks-5.4. Please verify its path and try again

I tried removing every commented line (not pure comments) of all the repos I have in yum.repos.d but nothing happened.

This is what I get if I do yum repolist enter image description here

Also found this in yum.conf (this is part of the file, should this be here? With my IP?


name=Rocks 5.4



I removed the Rocks repository from my yum.conf and now I get this error with yum update:

YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/ http://mirror.centos.org/centos/5/addons/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: addons. Please verify its path and try again

  • 1
    Can you add to your question your repository file, and anything related to Rocks-5.4 ?
    – user264413
    Dec 15 '17 at 8:47
  • @ThomasGros Done, I dont know what you mean by anything related to Rocks
    – bm00
    Dec 15 '17 at 8:53
  • Do you have a repository hosted on your (or one) machine located at your IP ? The problem seems to be related to your Rocks-5.4 repository. You should take a look at its path.
    – user264413
    Dec 15 '17 at 9:00
  • @ThomasGros We don't have any repository hosted in our machine.
    – bm00
    Dec 15 '17 at 9:03
  • Did you try to install or use Rocksclusters ? If you did, you might have misconfigured something (I'm not familiar with it, I can't help you further with this). If you didn't you can disable this repository from yum.conf.
    – user264413
    Dec 15 '17 at 9:15

For the edited part :

You're using a depreciated version of CentOS. As seen in the readme found in CentOS 5 repo :

This directory (and version of CentOS) is depreciated.

CentOS-5 is now past EOL

You can get the last released version of centos 5.11 here:


Please NOTE: this is not being maintained for security since moving to Vault. It will have security issues, you should upgrade to a new version instead.

You can either upgrade you system to a more recent version of CentOS (recommended for security updates etc..), or change your current repos urls from http://mirror.centos.org/centos/5/ to http://vault.centos.org/5.11/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.