Thursday, November 29, 2012

Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again


Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates. Please verify its path and try again

If you see this kind of error intially you don't do anything just reboot the server. This might work for you.
After the reboot try the “yum update” command.
But if you getting same error after the reboot then try the below.
  1. vi /etc/yum.repos.d/fedora.repo
  2. Comment out the “baseurl”.
  3. Save it and exit.
  4. Then try to reboot and run the yum update command.

Then you should be able to update your servers.

If it still having the same then if you having proxy on your network you can try out with that with the below configuration changes.

  1. vi /etc/yum.conf
  2. Add to this line “proxy=http://192.168.1.8:3128
Then save and reboot with those configuration you should be able update your repository.

No comments:

Post a Comment