Super User is a question and answer site for computer enthusiasts and power users. 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

I am using CentOS 5.6 on my desktop and would like to upgrade to CentOS 6.0.

I tried changing the yum repos to point to CentOS 6 but no luck. How can I do the upgrade?

share|improve this question

migrated from Jul 11 '11 at 8:33

This question came from our site for professional and enthusiast programmers.

up vote 13 down vote accepted

CentOS forum moderators seem to indicate that the only "supported" way is to do a reinstall:

Re: centos 6: straight 'upgrade', or start-from-scratch new install?" "Yes, you're suspicions are correct - a new install in the only recommended/supported path."

However, this doesn't mean that the upgrade isn't possible, but it may be messy and will be unsupported.

share|improve this answer
Thank you. As per the conversation in the thread I understand that its better to wait for a couple of weeks before I install CentOS 6. – Veerendra Mattaparthi Jul 11 '11 at 2:32
I believe this mirrors Red Hat's policy on upgrading between major versions. – PriceChild Jul 11 '11 at 8:35

I think, instead of looking for an upgrade, you should look for a fresh install, as upgrade option will be a tedious task to bring the machine to a stable state as lots of packages and their dependencies with their latest version upgrades need to be satisfied. If you have existing applications running on Centos, then the situation will be worse, and if you have additional cpan tools or other modules that are not a part of Centos, then it will really be a difficult task, so it will be fine, i think, if you go for a fresh install and you will save a lot of time.

share|improve this answer

It is possible doing:

yum upgrade --enablerepo=centosplus

But, as said in previous comments, it is not recommended and it can has problems. So a clean/reinstall method is the most safe way.

share|improve this answer

You must log in to answer this question.