Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few months, I've been relying on a fresh install instead of an in-place upgrade for my test systems.

Since the real CentOS 6 release is here, is anyone planning on performing the migration in-place? Are there any situations where it makes sense? If so, what are the pitfalls of an in-place update?

share|improve this question
Do you mean 5.6? I don't find reference to 6.X anywhere on the main CentOS site – SpacemanSpiff Jul 10 '11 at 16:22
Nevermind, I found it... boy you really like bleeding edge eh? Have fun :) – SpacemanSpiff Jul 10 '11 at 16:24
I've been using RHEL6 in a limited capacity for months, then Scientific Linux 6, after resigning myself to the fact that CentOS 6 was just not going to happen... This morning, I noticed my local mirror was downloading quite a bit and discovered that 6.0 was finally released. But the one issue that hasn't been fully-addressed is the recommended migration path. – ewwhite Jul 10 '11 at 16:28
If you are running SL6, why switch back to Centos? – Rilindo Jul 10 '11 at 16:46
Just as a test-bed. I only started working with SL6 a week ago since I have a large number of systems that may need to be moved from RHEL/CentOS 5.6 to 6. – ewwhite Jul 10 '11 at 16:53
up vote 13 down vote accepted

We recommend everyone run through a reinstall rather than attempt an inplace upgrade from CentOS-4 or CentOS-5!


You can run this upgrade centos6 just by using yum upgrade --enablerepo=centosplus.

Do not forget: each system running centos is individual (!). I recommend you to test this upgrade on a virtual machine before upgrading (i did so!). Of course, this process may takes some hours. I've upgraded several internal systems virtually today and monitoring them right now. regards, msec.

share|improve this answer

Although it may be possible to do such update with Yum and some manual tinkering, the only supported and recommended way to update from CentOS 5.x to CentOS 6 is a clean re-install.

share|improve this answer
I don't think this answers his question. – SpacemanSpiff Jul 10 '11 at 17:04
Not an answer to the question. – Erik Aronesty Nov 22 '13 at 18:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.