[CentOS] Upgrade from CentOS 6.x to 7

Tue Sep 9 17:51:06 UTC 2014
Clovis Tristao <clovis at agr.unicamp.br>


I have try to upgrade CentOS 6.5 to 7, appears this error:

]# yum install redhat-upgrade-tool preupgrade-assistant-contents
Loaded plugins: fastestmirror, presto
Loading mirror speeds from cached hostfile
  * base: centos.xpg.com.br
  * extras: centos.xpg.com.br
  * updates: centos.xpg.com.br
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package preupgrade-assistant-contents.noarch 0:0.5.14-1.el6.centos 
will be installed
--> Processing Dependency: preupgrade-assistant(x86-64) >= 1.0.2-14 for 
package: preupgrade-assistant-contents-0.5.14-1.el6.centos.noarch
---> Package redhat-upgrade-tool.noarch 1:0.7.22-3.el6.centos will be 
--> Processing Dependency: preupgrade-assistant >= 1.0.2-4 for package: 
--> Finished Dependency Resolution
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 
            Requires: preupgrade-assistant(x86-64) >= 1.0.2-14

Any idea?


Em 09-09-2014 14:30, m.roth at 5-cent.us escreveu:
> SilverTip257 wrote:
>> On Tue, Sep 9, 2014 at 12:39 PM, John R Pierce <pierce at hogranch.com>
>> wrote:
>>> On 9/9/2014 9:33 AM, Mike Watson wrote:
>>>> Can I directly upgrade (update?) from my current 6.5 box to version 7?
>>>> Or, must I wipe my drives and install from scratch?
>>> I wouldn't.   redhat does have an upgrade script for headless
>>> server-only type configurations, but there's just so much room for
> 'wrong', with
>>> newer versions of all the system components like python, apache, libc and
>>> other libraries, postgresql database server, etc etc etc.
>>> I would save /home, a copy of /etc/passwd,shadow and any other specific
>>> configuration files, dump any databases, apache configurations, etc etc,
>>> then do a clean install and piece that stuff back together.
>> As John says, it's risky.
>> And you're going to want backups anyways if things go south.
>> There is a tool in the works, but last I heard it needs testing.
>> http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool
>> (I'm a member of the fresh install camp!)
> Huh. I thought preupgrade was part of RHEL 7, since it's in fedora 19 (and
> pretty much works, most of the time...).
> Another idea: back up your o/s: mv /boot/* to /boot/old, stuff off / to
> /old, then just install. Easy downgrade path....
>          mark
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Clovis Tristao - UNICAMP/Faculdade de Engenharia Agricola
Administrador de Redes - Secao de Informatica (SINFO)
E-mail: clovis at feagri.unicamp.br http://www.feagri.unicamp.br
MSN: clovis_tristao33 at hotmail.com
Fone: 55(19) 35211031-35211038-35211047-91173116