LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   upgrading from centos 5.6 to 6 (https://www.linuxquestions.org/questions/linux-server-73/upgrading-from-centos-5-6-to-6-a-892288/)

bilux 07-18-2011 06:12 AM

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

acid_kewpie 07-18-2011 06: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 09:07 AM

thx;
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 09:13 AM

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

bilux 07-18-2011 09:22 AM

i tried that command in centos 5.6 but not working?

acid_kewpie 07-18-2011 09: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 09:33 AM

thx;
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 09: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 09:43 AM

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

acid_kewpie 07-18-2011 09: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 09:46 AM

i want to update my packages for securing my server

acid_kewpie 07-18-2011 09: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 09:57 AM

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

acid_kewpie 07-18-2011 09:59 AM

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

bilux 07-18-2011 10: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 04:05 PM.