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.
When I fire up the virtualbox VM Centos starts as I would expect, but
when I try to use yum list updates (or any of several other yum
command I've tried) I get a repo error - "
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=6&arch=i386&repo=os error was
14: PYCURL ER
I'm using CentOS 6.5 with Cobbler 2.4 (from EPEL). I'm trying to use a heredoc comment to create a repo file (which works) without the $basearch being interpreted. What happens is the file is created except $basearch is replaced with nothing (e.g.
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]