[CentOS] How to update CentOS 5.4 to 5.6?

Fri Sep 23 13:27:07 UTC 2011
Ross Walker <rswwalker at gmail.com>

On Sep 22, 2011, at 10:32 AM, fred smith <fredex at fcshome.stoneham.ma.us> wrote:

> On Thu, Sep 22, 2011 at 03:37:38AM -0700, John R Pierce wrote:
>> On 09/22/11 3:08 AM, Sebastian Schubert wrote:
>>> Am 22.09.11 11:59, schrieb John R Pierce:
>>>>> On 09/22/11 2:13 AM, John Doe wrote:
>>>>>>> If you want to take the risk anyway, the following (untested) might work:
>>>>>>> Modify your /etc/yum.repos.d/CentOS-Base.repo
>>>>>>> try to replace the baseurl's $releasever with 5.6...
>>>>> 
>>>>> no, as the 5.6 specific files are removed when 5.7 is released. you'd
>>>>> have to get a clone of the vault's 5.6 directory and set that up as a
>>>>> local repository instead, then point the repo file to that.
>>> crap ... the 5.6 files are still there .. just change the baseurl like
>>> john doe wrote and you'll get an update to 5.6
>> 
>> no, they aren't.
>> 
>> http://mirror.centos.org/centos/5.6/
>> 
>> empty.  except a readme file telling you to look in /5/ instead, which 
>> has the 5.7 stuff in it.
> 
> I'm joining this thread late, so pls forgive me if I'm repeating anything
> that someone else has already said.
> 
> One relatively easy way to do what I think the OP requests is to go to
> vault.centos.org, download the appropriate 5.6 ISO, burn to suitable
> optical media, boot, and run an UPDATE installation.

Easier still would have the OP add the 5.6 vault URL in his repo file and do a yum update off it.

-Ross