[CentOS-devel] CentOS Upgrade Tool

Wed Jan 6 13:24:45 UTC 2016
Karanbir Singh <mail-lists at karan.org>

On 06/01/16 13:08, Leon Fauster wrote:
> Am 06.01.2016 um 14:03 schrieb Karanbir Singh <mail-lists at karan.org>:
>> On 06/01/16 10:27, Bruno Martins wrote:
>>> Hi everyone,
>>>
>>> I hope this is the best place to post this question.
>>>
>>> I was wondering how can one upgrade from CentOS 6.7 to CentOS 7.x using redhat-upgrade-tool-cli in a scenario where you're upgrading an Hyper-V based VM.
>>>
>>
>> step1 would be to yum erase anything that didnt come from CentOS-6
>> itself, you clearly have external repos on there. And I mean not just
>> remove the repos, but actually remove all the content that came from
>> other places. Leave only content from base + updates for CentOS-6 itself.
>>
>> secondly you need to use the centos tools from the centos repos
> 
> 
> 
> IMHO, I would put this effort (the above, and post activities like verify 
> everything e.g. sanity-checks etc.) into a new setup + service migration. 
> A more clean procedure and better reproducible ...
> 

yeah, I cant agree more.

The only time the migration process worked for me was on a freshly
installed centos6 box, with a minimal install and then upgraded
immediately. Admittedly, the only time I ran this was about 6 to 8
months back.

When third party repos get involved, all bets are all. Similarly when
desktop components and lots of user data is involved, many bets are also
off.

regards


-- 
Karanbir Singh
+44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh
GnuPG Key : http://www.karan.org/publickey.asc