[CentOS] Reconfiguring yum

Tue Apr 28 20:37:43 UTC 2009
John R Pierce <pierce at hogranch.com>

Kaplan, Andrew H. wrote:
>
> Hi there --
>
> I need to reconfigure yum on one of our centos 5.3 systems in order 
> for the automatic updates to work.
> Currently the error messages that I am getting are shown below:
>
> $ sudo yum check-update
> Loaded plugins: allowdowngrade, changelog, downloadonly, 
> fastestmirror, priorities, protectbase, tsflags, versionlock
> Loading mirror speeds from cached hostfile
>  * base: mirrors.rit.edu
>  * updates: mirrors.unbornmedia.com
>  * c5-media:
>
      ^^^^^^^^

why is c5-media enabled?   that tells it to look at the CDROM thats 
mounted in /media/something

    vi /etc/yum.repos.d/CentOS-Media.repo

and remove any line that says Enabled = 1   or similar.
...