Hi All Is it possible to upgrade from CentOS 6.7 to CentOS 7? I see there is some attempt at an upgrade tool available, but it's apparently broken: https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool Would anyone be able to recommend a manual upgrade procedure to upgrade a minimal CentOS 6.7 system to one or other version of CentOS 7? Many thanks in advance, Traiano
On 15/12/15 10:17 AM, Traiano Welcome wrote:> Hi All > > Is it possible to upgrade from CentOS 6.7 to CentOS 7? > > I see there is some attempt at an upgrade tool available, but it's > apparently broken: > > https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool > > Would anyone be able to recommend a manual upgrade procedure to > upgrade a minimal CentOS 6.7 system to one or other version of CentOS > 7? > > Many thanks in advance, > TraianoGiven how radically the OS changed, I would strongly advice against it. The move from sysvinit to systemd alone is enough to recommend against an upgrade. -- Digimer Papers and Projects: https://alteeve.ca/w/ What if the cure for cancer is trapped in the mind of a person without access to education?
On Tue, Dec 15, 2015 at 6:36 PM, Digimer <lists at alteeve.ca> wrote:> On 15/12/15 10:17 AM, Traiano Welcome wrote: >> Hi All >> >> Is it possible to upgrade from CentOS 6.7 to CentOS 7? >> >> I see there is some attempt at an upgrade tool available, but it's >> apparently broken: >> >> https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool >> >> Would anyone be able to recommend a manual upgrade procedure to >> upgrade a minimal CentOS 6.7 system to one or other version of CentOS >> 7? >> >> Many thanks in advance, >> Traiano > > Given how radically the OS changed, I would strongly advice against it. > The move from sysvinit to systemd alone is enough to recommend against > an upgrade.So it's not possible under any circumstances?> > -- > Digimer > Papers and Projects: https://alteeve.ca/w/ > What if the cure for cancer is trapped in the mind of a person without > access to education? > _______________________________________________ > CentOS mailing list > CentOS at centos.org > https://lists.centos.org/mailman/listinfo/centos
On 12/15/2015 07:17 AM, Traiano Welcome wrote:> I see there is some attempt at an upgrade tool available, but it's > apparently broken: > https://wiki.centos.org/TipsAndTricks/CentOSUpgradeToolhttps://fedoraproject.org/wiki/Upgrading_Fedora_using_package_manager?rd=Upgrading_Fedora_using_yum Using "yum --releasever=7 distro-sync --downloadonly", then switching to single-user mode and "yum --releasever=7 distro-sync" you *might* be able to do it. However, you should test this on another system or in a virtual host. I've never done it, and it's highly likely to have problems. You should be aware that the purpose of the centos upgrade tool is to identify and warn the user about known problems with an upgrade. Because Anaconda installations are highly customizable, it's impossible for any of us to tell you if an upgrade will work. There are too many things that might not on your system, which we have no way of knowing. I don't know what keeps you from doing a clean install. Anything I can imagine that might convince you that this is a good idea, makes this a really bad idea. If you don't have backups, this is an extremely bad idea. If you're trying to minimize down time or work, this is an extremely bad idea.
On 12/15/2015 09:52 AM, Gordon Messmer wrote: *snip*> > I don't know what keeps you from doing a clean install. Anything I can > imagine that might convince you that this is a good idea, makes this a > really bad idea. If you don't have backups, this is an extremely bad > idea. If you're trying to minimize down time or work, this is an > extremely bad idea.I have to echo this. One of the reasons I stopped using Fedora is because clean installs really are the best way, even with Fedora where there was FedUp and related attempts, it always resulted for me in the new install being somewhat dirty and non-optimal. With CentOS if you use the most recent version with your initial install, you have at least 5 years before you need to do it again. And when you do need to do it again, you have time to learn the new system and then migrate intelligently. If there is a version of software you need that is in CentOS 7 and not in CentOS 6, often you can rebuild the src.rpm and upgrade just that package (though sometimes it requires some spec file modifications) I even do that with CentOS 7 where I build the latest GStreamer and replace the stock GStreamer1 packages. But I wouldn't try a dist upgrade, that breaks things even on distros that allegedly support it. In my experience.