Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Jul 11 '11 at 8:33

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

3 Answers 3

up vote 12 down vote accepted

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

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=29670&forum=14


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

Your Answer

 
discard

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