[CentOS] New administrator and upgrading systems

Thu Oct 22 01:31:59 UTC 2009
Mathew S. McCarrell <mccarrms at gmail.com>

On Wed, Oct 21, 2009 at 9:29 PM, Alan McKay <alan.mckay at gmail.com> wrote:

> > /etc/yum.repos.d/CentOS-Base.repo has this:
> >
> > #released updates
> > [updates]
> > name=CentOS-$releasever - Updates
> > mirrorlist=
> http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
> > #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
> > gpgcheck=1
> > enabled=1
> > priority=1
> > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5
>
> You can update this yourself to hardcode the 5.4 version of your
> mirror, e.g someone else in this thread said this was their mirror :
>
> http://www.muug.mb.ca/pub/centos/5.3/updates/i386/
>
> and you can change the 5.3 to 5.4 to see that 5.4 is there already,
> but maybe the "5" symlink has not yet been changed to point to it
>
> http://www.muug.mb.ca/pub/centos/5.4/updates/i386/
>
> So update the repo file to something like this :
>
> > #mirrorlist=
> http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
> > baseurl=http://www.muug.mb.ca/pub/centos/5.4/updates/i386/
>
>
Updating your repo file like this is a very bad idea.  You would be better
off waiting for the mirrorlist.txt file to update instead of causing
yourself more headaches in the long run.

Matt

--
Mathew S. McCarrell
Clarkson University '10

mccarrms at gmail.com
mccarrms at clarkson.edu
1-518-314-9214
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20091021/c7c5bd78/attachment-0005.html>