Page 1 of 1

upgrade from centos5.6 to centos6

Posted: 2011/07/12 11:09:46
by benjo11111
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

Re: upgrade from centos5.6 to centos6

Posted: 2011/07/12 13:55:52
by syvwu
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...

upgrade from centos5.6 to centos6

Posted: 2011/07/13 17:55:24
by pschaff
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].

Re: upgrade from centos5.6 to centos6

Posted: 2011/07/14 00:33:08
by grifs71
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.

Re: upgrade from centos5.6 to centos6

Posted: 2011/07/14 15:48:07
by pschaff
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.

Re: upgrade from centos5.6 to centos6

Posted: 2011/07/15 15:54:02
by frank1606
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]

Re: upgrade from centos5.6 to centos6

Posted: 2011/07/15 16:59:20
by pschaff
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.