Migration from 6.9 to 7.x
Hi all,
i'm trying to update my RHEL 6.9 into 7.x version ... What a pain !
I'm facing a multilib error :
sudo yum -y install preupgrade-assistant preupgrade-assistant-el6toel7
=>
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for sqlite which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of sqlite of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude sqlite.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of sqlite installed, but
yum can only see an upgrade for one of those arcitectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of sqlite installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: sqlite-3.6.20-1.el6.i686 != sqlite-3.6.20-1.el6_7.2.x86_64
Error: Protected multilib versions: libuuid-2.17.2-12.14.el6_5.i686 != libuuid-2.17.2-12.28.el6.x86_64
Error: Protected multilib versions: libblkid-2.17.2-12.14.el6_5.i686 != libblkid-2.17.2-12.28.el6.x86_64
Error: Protected multilib versions: libstdc++-4.4.7-4.el6.i686 != libstdc++-4.4.7-18.el6.x86_64
Error: Protected multilib versions: file-libs-5.04-15.el6.i686 != file-libs-5.04-30.el6.x86_64
Error: Protected multilib versions: nss-3.16.1-7.el6_5.i686 != nss-3.27.1-13.el6.x86_64
Error: Protected multilib versions: xz-libs-4.999.9-0.3.beta.20091007git.el6.i686 != xz-libs-4.999.9-0.5.beta.20091007git.el6.x86_64
Error: Protected multilib versions: pcre-7.8-6.el6.i686 != pcre-7.8-7.el6.x86_64
Error: Protected multilib versions: libssh2-1.4.2-1.el6.i686 != libssh2-1.4.2-2.el6_7.1.x86_64
Error: Protected multilib versions: libcurl-7.19.7-37.el6_5.3.i686 != libcurl-7.19.7-52.el6.x86_64
Error: Protected multilib versions: libgcrypt-1.4.5-11.el6_4.i686 != libgcrypt-1.4.5-12.el6_8.x86_64
Error: Protected multilib versions: libacl-2.2.49-6.el6.i686 != libacl-2.2.49-7.el6.x86_64
Error: Protected multilib versions: libxml2-2.7.6-14.el6_5.2.i686 != libxml2-2.7.6-21.el6_8.1.x86_64
Error: Protected multilib versions: elfutils-libelf-0.152-1.el6.i686 != elfutils-libelf-0.164-2.el6.x86_64
Error: Protected multilib versions: keyutils-libs-1.4-4.el6.i686 != keyutils-libs-1.4-5.el6.x86_64
Error: Protected multilib versions: openscap-1.0.8-1.el6_5.1.i686 != openscap-1.2.13-2.el6.x86_64
Error: Protected multilib versions: libcom_err-1.41.12-18.el6_5.1.i686 != libcom_err-1.41.12-23.el6.x86_64
Error: Protected multilib versions: openldap-2.4.23-34.el6_5.1.i686 != openldap-2.4.40-16.el6.x86_64
Error: Protected multilib versions: db4-4.7.25-18.el6_4.i686 != db4-4.7.25-22.el6.x86_64
Error: Protected multilib versions: cyrus-sasl-lib-2.1.23-13.el6_3.1.i686 != cyrus-sasl-lib-2.1.23-15.el6_6.2.x86_64
Error: Protected multilib versions: nspr-4.10.6-1.el6_5.i686 != nspr-4.13.1-1.el6.x86_64
Error: Protected multilib versions: openssl-1.0.1e-16.el6_5.15.i686 != openssl-1.0.1e-57.el6.x86_64
Error: Protected multilib versions: krb5-libs-1.10.3-15.el6_5.1.i686 != krb5-libs-1.10.3-65.el6.x86_64
Error: Protected multilib versions: nss-util-3.16.1-2.el6_5.i686 != nss-util-3.27.1-3.el6.x86_64
Error: Protected multilib versions: nss-softokn-3.14.3-12.el6_5.i686 != nss-softokn-3.14.3-23.3.el6_8.x86_64
Error: Protected multilib versions: libselinux-2.0.94-5.3.el6_4.1.i686 != libselinux-2.0.94-7.el6.x86_64
I'm using a x86_64 arch.
When i'm adding "--setopt=protected_multilib=false" option, a new error occurs :
Transaction Check Error:
...
file /usr/share/man/man1/pcretest.1.gz from install of pcre-7.8-6.el6.i686 conflicts with file from package pcre-7.8-7.el6.x86_64
file /usr/share/locale/de/LC_MESSAGES/elfutils.mo from install of elfutils-libelf-0.152-1.el6.i686 conflicts with file from package elfutils-libelf-0.164-2.el6.x86_64
file /usr/share/locale/en@boldquot/LC_MESSAGES/elfutils.mo from install of elfutils-libelf-0.152-1.el6.i686 conflicts with file from package elfutils-libelf-0.164-2.el6.x86_64
file /usr/share/locale/en@quot/LC_MESSAGES/elfutils.mo from install of elfutils-libelf-0.152-1.el6.i686 conflicts with file from package elfutils-libelf-0.164-2.el6.x86_64
file /usr/share/locale/es/LC_MESSAGES/elfutils.mo from install of elfutils-libelf-0.152-1.el6.i686 conflicts with file from package elfutils-libelf-0.164-2.el6.x86_64
file /usr/share/locale/ja/LC_MESSAGES/elfutils.mo from install of elfutils-libelf-0.152-1.el6.i686 conflicts with file from package elfutils-libelf-0.164-2.el6.x86_64
file /usr/share/locale/pl/LC_MESSAGES/elfutils.mo from install of elfutils-libelf-0.152-1.el6.i686 conflicts with file from package elfutils-libelf-0.164-2.el6.x86_64
file /usr/share/locale/uk/LC_MESSAGES/elfutils.mo from install of elfutils-libelf-0.152-1.el6.i686 conflicts with file from package elfutils-libelf-0.164-2.el6.x86_64
file /usr/share/misc/magic from install of file-libs-5.04-15.el6.i686 conflicts with file from package file-libs-5.04-30.el6.x86_64
file /usr/share/misc/magic.mgc from install of file-libs-5.04-15.el6.i686 conflicts with file from package file-libs-5.04-30.el6.x86_64
file /usr/share/doc/openssl-1.0.1e/README.FIPS from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/ca.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/ciphers.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/cms.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/ec.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/ocsp.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/openssl.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/req.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/s_client.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/s_server.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/s_time.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/smime.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/speed.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/ts.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/verify.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man1/x509.1ssl.gz from install of openssl-1.0.1e-16.el6_5.15.i686 conflicts with file from package openssl-1.0.1e-57.el6.x86_64
file /usr/share/man/man5/ldap.conf.5.gz from install of openldap-2.4.23-34.el6_5.1.i686 conflicts with file from package openldap-2.4.40-16.el6.x86_64
file /usr/share/man/man5/ldif.5.gz from install of openldap-2.4.23-34.el6_5.1.i686 conflicts with file from package openldap-2.4.40-16.el6.x86_64
file /usr/share/openscap/xsl/xccdf-report.xsl from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
file /usr/share/openscap/xsl/xccdf-share.xsl from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
file /usr/share/openscap/cpe/openscap-cpe-dict.xml from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
file /usr/share/openscap/cpe/openscap-cpe-oval.xml from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
file /usr/share/openscap/schemas/sce/1.0/sce-result-schema.xsd from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
file /usr/share/openscap/schemas/sds/1.2/scap-source-data-stream_1.2.xsd from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
file /usr/share/openscap/xsl/xccdf_1.1_remove_dangling_sub.xsl from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
file /usr/share/openscap/xsl/xccdf_1.1_to_1.2.xsl from install of openscap-1.0.8-1.el6_5.1.i686 conflicts with file from package openscap-1.2.13-2.el6.x86_64
Error Summary
Any idea ?
Any help would be appreciated ...
Best regards
Chris
Responses
Hi Philippe,
If there is a conflicts between 32 and 64 bit packages installed, then you could check and remove them using the 'package-cleanup --cleandupes' command as explained in this article https://access.redhat.com/solutions/158883
Also, the recommended upgrade path from RHEL6.x to RHEL7.x should go from latest minor release of RHEL6 i.e from RHEL6.11 release. Also, the in-place upgrade process supports only 'server' edition packages, so, please go through this article for more details https://access.redhat.com/solutions/637583.
All the best!
Concur with Murthy Sadashiva and Christian above. While it's "possible" to do an in-place "upgrade", those that have done so have always said later they wish they would have just done a clean reload. I'd never recommend an "upgrade" from 6.anything to any major release. Wipe & reload or reload a new system and have it take over the IP and hostname of the old system. Any systems that connect to it automatically will have to have the host ssh key fingerprints reaccepted.
Regards,
RJ
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
