Problem with update centos 6.8 to 7

General support questions
Post Reply
spinoza
Posts: 2
Joined: 2016/12/16 19:54:28

Problem with update centos 6.8 to 7

Post by spinoza » 2016/12/16 20:03:03

Hi!

I have problem with update centos 6.8 to 7

I use how-to - https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool

Code: Select all

# cat /etc/redhat-release
CentOS release 6.8 (Final)

When I make last command

Code: Select all

#centos-upgrade-tool-cli --network 7 --instrepo=http://mirror.centos.org/centos/7/os/x86_64/ --cleanup-post
I have error:

Code: Select all

# centos-upgrade-tool-cli --network 7 --instrepo=http://mirror.centos.org/centos/7/os/x86_64/ --cleanup-post
setting up repos...
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/tmp/system-upgrade/base/mirrorlist.txt
cmdline-instrepo                                                                                | 3.6 kB     00:00
cmdline-instrepo/primary_db                                                                     | 5.6 MB     00:01
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/tmp/system-upgrade/extras/mirrorlist.txt
YumRepo Error: All mirror URLs are not using ftp, http[s] or file.
 Eg. Invalid release/
removing mirrorlist with no valid mirrors: /var/tmp/system-upgrade/updates/mirrorlist.txt
upg                                                                                             | 1.9 kB     00:00
upg/primary_db                                                                                  |  14 kB     00:00
webtatic                                                                                        | 3.6 kB     00:00
webtatic/primary_db                                                                             | 298 kB     00:00
No upgrade available for the following repos: base extras updates
.treeinfo                                                                                       |  366 B     00:00
Preupgrade assistant risk check found risks for this upgrade.
You can run preupg --riskcheck --verbose to view these risks.
Addressing high risk issues is required before the in-place upgrade
and ignoring these risks may result in a broken upgrade and unsupported upgrade.
Please backup your data.

Continue with the upgrade [Y/N]? Y
getting boot images...

Downloading failed: invalid data in .treeinfo: No section: 'checksums'
What could be the problem?

Thanks.

User avatar
TrevorH
Forum Moderator
Posts: 29681
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Problem with update centos 6.8 to 7

Post by TrevorH » 2016/12/16 20:20:20

There is no upgrade tool - it's been broken for about 18 months and there is no-one who cares enough to fix it. It's documented as broken in the wiki page that describes how to use it. It will KILL your system, DO NOT use it.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

spinoza
Posts: 2
Joined: 2016/12/16 19:54:28

Re: Problem with update centos 6.8 to 7

Post by spinoza » 2016/12/17 07:32:09

Ok. Thanks.

You can then tell, how I can upgrade from 6.8 to 7?

giulix63
Posts: 1305
Joined: 2014/05/14 10:06:37
Location: UK

Re: Problem with update centos 6.8 to 7

Post by giulix63 » 2016/12/17 08:09:17

Make sure your hardware is still supported, backup, reinstall, restore.
Root is evil: Do not use root (sudo) to run any of the commands specified in my posts unless explicitly indicated. Please, provide the necessary amount of context to understand your problem/question.

Post Reply

Return to “CentOS 6 - General Support”