[CentOS] Upgrade from CentOS 6.x to 7

Tue Sep 9 21:16:55 UTC 2014
m.roth at 5-cent.us <m.roth at 5-cent.us>

Johnny Hughes wrote:
> On 09/09/2014 03:01 PM, Clovis Tristao wrote:
>> Hi,
>>
>> Em 09-09-2014 15:38, John R Pierce escreveu:
>>> On 9/9/2014 11:11 AM, Clovis Tristao wrote:
>>>>>
>>>> I'm using exactly this tutorial.
>>>
>>> I didn't see the special repo mentioned there on your yum output.
>>> re-read section 1.1.
>>>
>> I'm using this repo, see the output of yum:
>>
>> Error: Package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch
>> (upg)    <-----
>>            Requires: preupgrade-assistant >= 1.0.2-4
>> Error: Package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch
>> (upg) <-----
>>            Requires: preupgrade-assistant(x86-64) >= 1.0.2-14
>>
>> # yum repolist
>> Loaded plugins: fastestmirror, presto
>> Loading mirror speeds from cached hostfile
>>  * base: centos.xpg.com.br
>>  * epel: mirror.globo.com
>>  * extras: centos.xpg.com.br
>>  * updates: centos.xpg.com.br
>> repo id                                  repo name status
>> base                                     CentOS-6 - Base 4.802
>> epel                                     Extra Packages for Enterprise
>> Linux 6 - i386                                   9.138
>> extras                                   CentOS-6 - Extras 13
>> updates                                  CentOS-6 - Updates 1.081
>> upg                                      CentOS-6 - Upgrade Tool <-----
>> here                                         15
>>
>> Thanks a lot,
>>
>> Clovis
>>
>
>
> Do you have any of these lines in either the /etc/yum.conf OR
> /etc/yum.repos.d/upd.conf?
>
> exclude=
>
> Or are you using yum priorities?

Or is the repo not enabled (enabled=0)?

      mark
>
> preupgrade-assistant-1.0.2-36.0.1.el6.centos.x86_64.rpm   <== this
> exists in the repo
>
> I just checked the instructions and the repo and it works:
>
> =====================================================================================================================================
>  Package                                     Arch
> Version                                Repository             Size
> =====================================================================================================================================
> Installing:
>  preupgrade-assistant-contents               noarch
> 0.5.14-1.el6.centos                    upg                   917 k
>  redhat-upgrade-tool                         noarch
> 1:0.7.22-3.el6.centos                  upg                    85 k
> Installing for dependencies:
>  libxslt-devel                               x86_64
> 1.1.26-2.el6_3.1                       base                  561 k
>  openscap                                    x86_64
> 1.0.8-1.0.1.el6.centos.1               updates               2.9 M
>  pcre-devel                                  x86_64
> 7.8-6.el6                              base                  318 k
>  preupgrade-assistant                        x86_64
> 1.0.2-36.0.1.el6.centos                upg
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>