CentOS 6.4 - Fixing Base Repo Error

I just installed CentOS 6.4 on a little server and immediately ran yum update. If you recieve the following message like I did:
Error: Cannot retrieve repository metadata (repomd.xml) for repository: base. Please verify its path and try again
The solution was to uncomment (remove the '#') from the following line in /etc/yum.repos.d/CentOS-Base.repo
#baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
Now just run yum update again.

No comments:

Post a Comment