[CentOS] What is wrong with yum?

Sun Apr 20 18:54:19 UTC 2008
Johnny Hughes <johnny at centos.org>

Olaf Mueller wrote:
> Hello,
> 
> in my CentOS-Base.repo file there is a line
> baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch
> and yum update said 'nothing to do'. Then I change this line to
> baseurl=http://mirror.centos.org/centos/5.1/updates/i386 and yum
> updates firefox, squid, sos and so on. That happens on two of my
> computers, reproducible.
> 
> Does yum sometimes forget it's release version?
> 

Changing to 5.1 instead of 5 (which is the default) will result in not 
getting updates when we move to 5.2.

The fact that is says nothing to do can be caused by cached metadata 
(and shifting from $releasever to 5.1 will cause that to download over 
again).

yum clean metadata

  then

yum upgrade

might be better to try.

Also PLEASE REMEMBER ... $releasever is not 5.1 or 5.2 .. it is 5.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080420/06244122/attachment-0004.sig>