[CentOS] Crazy thought about upgrading to new major release

Tue Jun 6 20:19:18 UTC 2017
Robert Moskowitz <rgm at htt-consult.com>


On 06/06/2017 03:45 PM, John R Pierce wrote:
> On 6/6/2017 12:38 PM, Jerry Geis wrote:
>> I have older systems out there that work fine, just for what ever reason
>> would be great to upgrade from a C5 -> C7 (due to no longer 
>> supported) or
>> C6 > C7 (for updated packages).
>>
>> Sounds like the upgrade tool is not quite an option...
>> I was thinking...
>>
>> What would be wrong with any "easy" script that did the following:
>>
>> 1) Removed all packages with the --justdb option.
>> 2) Import the RPM-GPG-KEY-CentOS-7
>> 3) install the centos-release-7.3.1611 ... rpm
>> 4) yum -y upgrade
>> 5) yum groupinstall "GNOME Desktop"   (for example)
>>
>> and reboot of course.
>>
>> Does that have any chance or working and be valid?
>
>
> the correct method is
>
> 1) backup all user files, databases, and settings.
>
> 2) clean install c7, configure required packages.
>
> 3) restore user files, databases, and settings.
>
> or easier
>
> 1) install c7 on new server
>
> 2) move over all services, functionality, etc. one by one.

This is how I do it.  I just don't trust updates.  Plus there is all 
sorts of detritus that builds up that you really don't want to drag 
along....