Testing CentOS-6 to CentOS-7 upgrades via CentOS Testing Repo

Tuesday , 22, July 2014 13 Comments

EDIT (Monday July 28, 2014 - 2010 UTC):

We now have what we think is going to be the final version of this upgrade tool.  Please see the following link to test:

http://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool

End Edit

================

We now have some Beta Testing RPMs available to test upgrades from CentOS-6 to CentOS-7.  These tests were announced on the CentOS-Devel mailing list here:

http://lists.centos.org/pipermail/centos-devel/2014-July/011277.html

Since the release of the test RPMs, we have had several patches created by Manuel Mausz.  Manuel's patches have done a lot to make the Preupgrade Assistant work for upgrades.  We now need to get some tests of the patched RPMs.

The new RPMs are available from the Testing Repo here:

http://dev.centos.org/centos/6/upg/x86_64/Packages/

The upstream documentation for performing upgrades, as it currently exists, is here:

http://red.ht/1oVEt7O

The CentOS team would like to very much thank Manuel for his testing work and patches for Preupgrade Assistant. This is an example of how we are now doing things in the "New" CentOS Project ... where the community is now involved in all aspects of what we do except the actual building of the upstream sources for the actual distro.

Other things we need from the community for this process:

  1. Test the RPMs as they exist right now in the Testing Repo.
  2. If the process needs more changes to work properly, submit patches to the CentOS-Devel mailing list to get them rolled into the packages.
  3. Document the process of using the current RPMs from the Testing Repo to actually perform CentOS-6.5 to CentOS-7 upgrades.
  4. Update wiki.centos.org to contain the newly documented processes to perform the upgrades.

The SRPMs for these packages are here:

http://dev.centos.org/centos/6/upg/Source/SPackages/

The sources are also available from git.centos.org:

https://git.centos.org/project/rpms

And the specific packages are:

  • preupgrade-assistant : Git Branch c6
  • preupgrade-assistant-contents : Git Branch c6
  • redhat-upgrade-tool: Git Branch c6

Please test and document these packages and the process, and submit any required code changes to the CentOS-Devel mailing list.  If you need wiki.centos.org edit capability to create/update docs for the process, ask on the CentOS-Docs mailing list.

Note:  The state of this software is to be considered Beta at best ... do NOT try to use it on ANYTHING even slightly important.

-------------------------------------------

EDIT:  New packages are now pushed based on the changes from this mail:

http://lists.centos.org/pipermail/centos-devel/2014-July/011610.html

Instructions:

Please run preupg with "-s CentOS6_7".
13 thoughts on “ : Testing CentOS-6 to CentOS-7 upgrades via CentOS Testing Repo”
  • 霡霂 says:

    Is there a useful rpm package for nginx?

  • Eric says:

    Result on an upgrade for me in a test VM

    http://pastebin.centos.org/10891/

  • Jim says:

    I get (trying to yum install repo packages) on a CentOS release 6.5 (Final)
    :

    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.13-1.0.5.el6.centos.noarch (upg)
    Requires: preupgrade-assistant(x86-64) >= 1.0.2-14

    • Jim Sculley says:

      Same problem here:

      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.13-1.0.5.el6.centos.noarch (upg)
      Requires: preupgrade-assistant(x86-64) >= 1.0.2-14

  • Avraam Jack Dectis says:

    .
    Why do Gnome and KDE installations cause critical errors?

    I ran the assistant and it was quite clear they were a problem.

    Should it not be as simple as removing the old packages and installing the new packages?

    Obviously it is not but it does seem like something that could be managed.

  • Somebody says:

    I see the following when I try to run the centos-upgrade-tool-cli --network 7 --instrepo=http://mirror.centos.org/centos/7/os/x86_64/ command:

    (355/356): zlib-1.2.7-13.el7.x86_64.rpm | 89 kB 00:00
    (356/356): zlib-devel-1.2.7-13.el7.x86_64.rpm | 49 kB 00:00
    warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY

    Downloading failed: The GPG keys listed for the "CentOS-7.0 - Base" repository are already installed but they are not correct for this package.
    Check that the correct key URLs are configured for this repository.

  • Dick Gibbs says:

    This is the biggest load of shit I've come across, it's worse than Windows 8.

  • DJ Foreman says:

    these posts are dated back to aug 2014. Itis now a year later. HAs any progress been made? Is the upgrade tool working??

  • Please give us your valuable comment

    Your email address will not be published. Required fields are marked *