[CentOS] Newbie - yum update and repos problems

SilverTip257 silvertip257 at gmail.com
Thu Feb 28 20:55:43 UTC 2013


On Thu, Feb 28, 2013 at 10:14 AM, Bruce Whealton <bruce at futurewaveonline.com
> wrote:

> Oh, ok. But I didn't specify to use c6-media?  I was just using the command
> yum update or yum install php*
> How do I tell it not to use c6-media?
>

Check for the media to be defined in your yum repo files.

/etc/yum.repos.d/
/etc/yum.repos.d/CentOS-Base.repo


Just like John Pierce, I rarely if ever use the CentOS ISOs ... my installs
are all PXE booted kickstart installs.

Images ready for pxe booting...
http://mirrors.kernel.org/centos/6.3/os/x86_64/images/pxeboot/


Thanks,
> Bruce
> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf
> Of John R Pierce
> Sent: Wednesday, February 27, 2013 8:30 PM
> To: centos at centos.org
> Subject: Re: [CentOS] Newbie - yum update and repos problems
>
> On 2/27/2013 5:21 PM, Bruce Whealton wrote:
> > file:///media/CentOS/repodata/repomd.xml: [Errno 14] Could not
> > open/read file:///media/CentOS/repodata/repomd.xml
> > Trying other mirror.
> > file:///media/cdrecorder/repodata/repomd.xml: [Errno 14] Could not
> > open/read file:///media/cdrecorder/repodata/repomd.xml
> > Trying other mirror.
> > file:///media/cdrom/repodata/repomd.xml: [Errno 14] Could not
> > open/read file:///media/cdrom/repodata/repomd.xml
> > Trying other mirror.
> > Error: Cannot retrieve repository metadata (repomd.xml) for repository:
> > c6-media. Please verify its path and try again
>
>
> did you specify to enable the c6-media repository on your yum command
> line?    c6-media is a reference to the centos6 DVD, and its looking to
> see if its mounted in /media/CentOS or /media/cdrom or /media/cdrecorder
>
> I've /never/ messed with c6-media, as I don't use disks hardly ever, and
> I'd
> rather get the latest rpms from the update respositories.
>
> --
> john r pierce                                      37N 122W
> somewhere on the middle of the left coast
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

-- 
---~~.~~---
Mike
//  SilverTip257  //



More information about the CentOS mailing list