Edit /etc/yum.repos.d/CentOS-Base.repo and disable the addons repo by either changing "enabled = 1" to 0 or adding that line if it's not present.You do know that CentOS s... [by TrevorH]
I have a situation where the stock repo files that should exist in /etc/yum.repos.d/ (like centos-base.repo) are not present. I need to get them installed. I am sure this is simple, but after hours of searching, it seems I am not googling it correctly.
Basically I have a server with custom repos that are useless to me. I need epel, and epel needs centos-base.repo.
Edit the file /etc/yum.repos.d/CentOS-Media.repo and change the enabled=1 back to 0 and try againHaving read the link you posted, I would firmly recommend that before you do anything el... [by TrevorH]
You have enabled the c6-media repository which expects to find the install DVD mounted on /media/CentOS. Either mount it or disable the repo (edit the file in /etc/yum.repos.d and change enabled=1 ... [by TrevorH]