-   Linux - Server (
-   -   upgrading from centos 5.6 to 6 (

bilux 07-18-2011 07:12 AM

upgrading from centos 5.6 to 6
how to upgrade from centos 5.6 to 6 ?

acid_kewpie 07-18-2011 07:32 AM

I would not advise an upgrade. For a server you should really reinstall it.

Ultimately you can just run "yum --releasever=6 distro-sync", but again, I wouldn't recommend it.

bilux 07-18-2011 10:07 AM

but my x-centos 5.6 server contains a lot of informations :gate-server;dns-server ;dhcp and others which manage our copany network

acid_kewpie 07-18-2011 10:13 AM

I wouldn't advise against upgrading it then. If it works, leave it.

bilux 07-18-2011 10:22 AM

i tried that command in centos 5.6 but not working?

acid_kewpie 07-18-2011 10:24 AM

well firstly, i advised against upgrading if you can't rebuild. Why do you want to??

secondly if something "doesn't work" you need to give useful information about what happened.

bilux 07-18-2011 10:33 AM

when i tried the command it tell me :
Command line error:no such option :--releasever but under centos 6 in other host the command run well.

---------- Post added 07-18-11 at 03:34 PM ----------

i want to update all my centos 5.6 packages to el6 centos 6 packages.

acid_kewpie 07-18-2011 10:38 AM

if you can not justify rebuilding a server, then you can not justify upgrading it. what if it doesn't work? upgrading is a BIG thing, just about EVERY package is replaced, and there is a high chance of things failing. Then where would you be?

bilux 07-18-2011 10:43 AM

under centos 5.6
yum update -y
no packages marked for update.

acid_kewpie 07-18-2011 10:45 AM

right, because you are still juston the release 5. If you really want to you can install the el6 centos-release package and run it again. Y M M V

bilux 07-18-2011 10:46 AM

i want to update my packages for securing my server

acid_kewpie 07-18-2011 10:48 AM

6.0 will be less sure than 5.6. The feature set is older on 5.x therefore had a lot longer to be fully security tested.

bilux 07-18-2011 10:57 AM

is it the same problem between redhat 5 and redhat 6?

acid_kewpie 07-18-2011 10:59 AM

it's the same packages, so yes. Each major release introduces new features, new code.... new bugs.

bilux 07-18-2011 11:10 AM

when we need update packages from centos 5.6 to centos 6 ,i need to reinstall my systeme to centos 6 and repeting all my server configuration

All times are GMT -5. The time now is 12:30 AM.