[ale] CentOS 5.0 -> 5.1

Chris Fowler cfowler at outpostsentinel.com
Mon Jun 23 13:27:19 EDT 2008


Now I'm a bit confused.  I just realized that I DID install 5.1.  I'm 
confused because

[root at qos yum.repos.d]# cat /etc/redhat-release
CentOS release 5 (Final)



timothy at meanor.net wrote:
> Ah, I forgot that it has the $releasever variable in the path to the repos.  According to the man page for yum.conf, $releasever is replaced with the version of the package specified by distroverpkg in yum.conf (which by default is redhat-release).  His redhat-release says 5, so "yum -y update" will only get updates for version 5.  
>
> Perhaps the thing to do is to download the redhat-release package for 5.1, install that, than run "yum -y update" again.
>
> -Tim
>
>   
>>> I'm kind of confused.  Unless he's changed the repo files manually,
>>> they should point to $releasever, which upon releasing 5.1, should now
>>> point to the new updated files, and he should be able to upgrade...
>>>
>>> If they are changed, then yes, that explains the breakage.  If not,
>>> something weird is going on...
>>>
>>>
>>> Brian
>>>
>>>
>>>
>>> On Mon, Jun 23, 2008 at 11:52 AM,  <timothy at meanor.net> wrote:
>>>       
>>>> You'll need to update the files in /etc/yum.d to point to the centos 5.1 
>>>>         
>>> repo (you should simply be able to change /pub/centos/5.0 to /pub/centos/5.1 
>>> in each of these files).  Once you do that, you can do a "yum -y update".
>>>       
>>>> -Tim
>>>>
>>>>         
>>>>>> Jerry Yu wrote:
>>>>>>             
>>>>>>> 'yum -y update' should do.
>>>>>>>               
>>>>>> I tried that but cat /etc/redhat-release says 5 not 5.1
>>>>>> _______________________________________________
>>>>>> Ale mailing list
>>>>>> Ale at ale.org
>>>>>> http://mail.ale.org/mailman/listinfo/ale
>>>>>>             
>>>> _______________________________________________
>>>> Ale mailing list
>>>> Ale at ale.org
>>>> http://mail.ale.org/mailman/listinfo/ale
>>>>
>>>>         
>>> _______________________________________________
>>> Ale mailing list
>>> Ale at ale.org
>>> http://mail.ale.org/mailman/listinfo/ale
>>>       
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>   



More information about the Ale mailing list