Hi,
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 installed --> Processing Dependency: preupgrade-assistant >= 1.0.2-4 for package: 1:redhat-upgrade-tool-0.7.22-3.el6.centos.noarch --> 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 (upg) Requires: preupgrade-assistant(x86-64) >= 1.0.2-14
Any idea?
Clovis
Em 09-09-2014 14:30, m.roth@5-cent.us escreveu:
SilverTip257 wrote:
On Tue, Sep 9, 2014 at 12:39 PM, John R Pierce pierce@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@centos.org http://lists.centos.org/mailman/listinfo/centos