upgrade from centos5.6 to centos6

General support questions
Post Reply
benjo11111
Posts: 21
Joined: 2011/05/02 16:13:43

upgrade from centos5.6 to centos6

Post by benjo11111 » 2011/07/12 11:09:46

Hi,

I tried to upgrading centos 5.6 to centos 6 by yum.But i m not getting any update.

Please guide me for that.

Thanks,
Benjo

syvwu
Posts: 3
Joined: 2011/07/12 06:01:48
Location: Melbourne, VIC, Australia

Re: upgrade from centos5.6 to centos6

Post by syvwu » 2011/07/12 13:55:52

Hello there, you may find the answer below.

https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32047&forum=14

basically it said that upgrade between two major versions (5 and 6) is not supported.

So you may want to back up your data and do a clean install instead, or simply just stay on 5.6 for now...

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

upgrade from centos5.6 to centos6

Post by pschaff » 2011/07/13 17:55:24

I can't help but agree, as my answer was given in the topic cited; however, see also [url=https://www.centos.org/modules/newbb/viewtopic.php?topic_id=32061&forum=55&post_id=137052#forumpost137052]this advice for the adventurous[/url].

grifs71
Posts: 157
Joined: 2007/10/02 05:15:38
Location: Arkansas, United States

Re: upgrade from centos5.6 to centos6

Post by grifs71 » 2011/07/14 00:33:08

Normally, this will result in a 'blinking cursor' on a black screen.


I would just tar up your data, load the packages and install fresh.

Going back to the Red Hat 6.0 days, you would never able to just 'update' to newer releases. Archive your data, then rsync, tar and copy your config's to the new server.

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: upgrade from centos5.6 to centos6

Post by pschaff » 2011/07/14 15:48:07

Got my curiosity up enough the try the upgrade foolishness. Started with a fresh install of CentOS 5.5 x86_64 on VirtualBox (on the theory that the older packages would have less chance of having higher versions than 6.0 packages) booted from 6.0 x86_64 DVD#1 and entered "linux upgradeany" at the boot prompt. The installer found the old CentOS and offered to upgrade it, but the upgrade bombed right after transferring the install image to the hard disk. System rebooted OK and works at 5.5 without apparent ill effects, but no upgrade.

frank1606
Posts: 4
Joined: 2011/07/15 15:50:20

Re: upgrade from centos5.6 to centos6

Post by frank1606 » 2011/07/15 15:54:02

I entered after boot: "linux upgradeany" then found the installer _not_ the old CentOS. The installer will a new system install. What can i do?


[quote]
pschaff wrote:
Got my curiosity up enough the try the upgrade foolishness. Started with a fresh install of CentOS 5.5 x86_64 on VirtualBox (on the theory that the older packages would have less chance of having higher versions than 6.0 packages) booted from 6.0 x86_64 DVD#1 and entered "linux upgradeany" at the boot prompt. The installer found the old CentOS and offered to upgrade it, but the upgrade bombed right after transferring the install image to the hard disk. System rebooted OK and works at 5.5 without apparent ill effects, but no upgrade.[/quote]

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: upgrade from centos5.6 to centos6

Post by pschaff » 2011/07/15 16:59:20

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature.

After reading those links you should realize why you should not hijack threads as you have done. If you have additional difficulties please start a new Topic for your issue to get the attention you need, providing a link to this one if required for context.

[quote]
frank1606 wrote:
I entered after boot: "linux upgradeany" then found the installer _not_ the old CentOS. The installer will a new system install. What can i do?
[/quote]
You should back up any valuable data and do a fresh install.

Post Reply

Return to “CentOS 6 - General Support”