rhel7: mysql-community-libs conflicts with the installed packege mariadb-libs

Solution Unverified - Updated -

Issue

We will install the mysql common server V5.7. We start the installation with following steps:

yum localinstall mysql-community-server-5.7.10-1.el7.x86_64.rpm 

Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Examining mysql-community-server-5.7.10-1.el7.x86_64.rpm: mysql-community-server-5.7.10-1.el7.x86_64
Marking mysql-community-server-5.7.10-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-server.x86_64 0:5.7.10-1.el7 will be installed
--> Processing Dependency: mysql-community-client(x86-64) = 5.7.10-1.el7 for package: mysql-community-server-5.7.10-1.el7.x86_64
--> Processing Dependency: mysql-community-common(x86-64) = 5.7.10-1.el7 for package: mysql-community-server-5.7.10-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-server-5.7.10-1.el7.x86_64 (/mysql-community-server-5.7.10-1.el7.x86_64)
           Requires: mysql-community-client(x86-64) = 5.7.10-1.el7
Error: Package: mysql-community-server-5.7.10-1.el7.x86_64 (/mysql-community-server-5.7.10-1.el7.x86_64)
           Requires: mysql-community-common(x86-64) = 5.7.10-1.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Next....

yum localinstall mysql-community-client-5.7.10-1.el7.x86_64.rpm 

Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Examining mysql-community-client-5.7.10-1.el7.x86_64.rpm: mysql-community-client-5.7.10-1.el7.x86_64
Marking mysql-community-client-5.7.10-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-client.x86_64 0:5.7.10-1.el7 will be installed
--> Processing Dependency: mysql-community-libs(x86-64) = 5.7.10-1.el7 for package: mysql-community-client-5.7.10-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-client-5.7.10-1.el7.x86_64 (/mysql-community-client-5.7.10-1.el7.x86_64)
           Requires: mysql-community-libs(x86-64) = 5.7.10-1.el7
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Next...

yum localinstall mysql-community-libs-5.7.10-1.el7.x86_64.rpm 

Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Examining mysql-community-libs-5.7.10-1.el7.x86_64.rpm: mysql-community-libs-5.7.10-1.el7.x86_64
Marking mysql-community-libs-5.7.10-1.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be obsoleted
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:net-snmp-5.7.2-20.el7_1.1.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64
---> Package mysql-community-libs.x86_64 0:5.7.10-1.el7 will be obsoleting
--> Processing Dependency: mysql-community-common(x86-64) = 5.7.10-1.el7 for package: mysql-community-libs-5.7.10-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: mysql-community-libs-5.7.10-1.el7.x86_64 (/mysql-community-libs-5.7.10-1.el7.x86_64)
           Requires: mysql-community-common(x86-64) = 5.7.10-1.el7
Error: Package: 2:postfix-2.10.1-6.el7.x86_64 (@anaconda/7.1)
           Requires: libmysqlclient.so.18()(64bit)
           Removing: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (@rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Obsoleted By: mysql-community-libs-5.7.10-1.el7.x86_64 (/mysql-community-libs-5.7.10-1.el7.x86_64)
              ~libmysqlclient.so.20()(64bit)
           Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
Error: Package: 1:net-snmp-5.7.2-20.el7_1.1.x86_64 (@rhel-x86_64-server-7.1.eus)
           Requires: libmysqlclient.so.18()(64bit)
           Removing: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (@rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Obsoleted By: mysql-community-libs-5.7.10-1.el7.x86_64 (/mysql-community-libs-5.7.10-1.el7.x86_64)
              ~libmysqlclient.so.20()(64bit)
           Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
           Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18()(64bit)
Error: Package: 2:postfix-2.10.1-6.el7.x86_64 (@anaconda/7.1)
           Requires: libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Removing: 1:mariadb-libs-5.5.44-1.el7_1.x86_64 (@rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Obsoleted By: mysql-community-libs-5.7.10-1.el7.x86_64 (/mysql-community-libs-5.7.10-1.el7.x86_64)
               Not found
           Available: 1:mariadb-libs-5.5.35-3.el7.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Available: 1:mariadb-libs-5.5.37-1.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Available: 1:mariadb-libs-5.5.40-1.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Available: 1:mariadb-libs-5.5.40-2.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18(libmysqlclient_18)(64bit)
           Available: 1:mariadb-libs-5.5.41-2.el7_0.x86_64 (rhel-x86_64-server-7.1.eus)
               libmysqlclient.so.18(libmysqlclient_18)(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Next....

yum remove mariadb-libs
Loaded plugins: product-id, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Resolving Dependencies
--> Running transaction check
---> Package mariadb-libs.x86_64 1:5.5.44-1.el7_1 will be erased
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 1:net-snmp-5.7.2-20.el7_1.1.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: 2:postfix-2.10.1-6.el7.x86_64
--> Processing Dependency: mysql-libs for package: 1:net-snmp-5.7.2-20.el7_1.1.x86_64
--> Running transaction check
---> Package net-snmp.x86_64 1:5.7.2-20.el7_1.1 will be erased
--> Processing Dependency: net-snmp for package: SCIS-snmp-config-1.0-9.noarch
---> Package postfix.x86_64 2:2.10.1-6.el7 will be erased
--> Running transaction check
---> Package SCIS-snmp-config.noarch 0:1.0-9 will be erased
--> Processing Dependency: /usr/sbin/sendmail for package: redhat-lsb-core-4.1-27.el7.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package redhat-lsb-core.x86_64 0:4.1-27.el7 will be erased
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7 for package: redhat-lsb-cxx-4.1-27.el7.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7 for package: redhat-lsb-4.1-27.el7.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7 for package: redhat-lsb-desktop-4.1-27.el7.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7 for package: redhat-lsb-languages-4.1-27.el7.x86_64
--> Processing Dependency: redhat-lsb-core(x86-64) = 4.1-27.el7 for package: redhat-lsb-printing-4.1-27.el7.x86_64
--> Running transaction check
---> Package redhat-lsb.x86_64 0:4.1-27.el7 will be erased
---> Package redhat-lsb-cxx.x86_64 0:4.1-27.el7 will be erased
---> Package redhat-lsb-desktop.x86_64 0:4.1-27.el7 will be erased
---> Package redhat-lsb-languages.x86_64 0:4.1-27.el7 will be erased
---> Package redhat-lsb-printing.x86_64 0:4.1-27.el7 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package              Arch   Version          Repository                   Size
================================================================================
Removing:
 mariadb-libs         x86_64 1:5.5.44-1.el7_1 @rhel-x86_64-server-7.1.eus 4.4 M
Removing for dependencies:
 net-snmp             x86_64 1:5.7.2-20.el7_1.1
                                              @rhel-x86_64-server-7.1.eus 849 k
 postfix              x86_64 2:2.10.1-6.el7   @anaconda/7.1                12 M
 redhat-lsb           x86_64 4.1-27.el7       @anaconda/7.1               0.0  
 redhat-lsb-core      x86_64 4.1-27.el7       @anaconda/7.1                45 k
 redhat-lsb-cxx       x86_64 4.1-27.el7       @anaconda/7.1               0.0  
 redhat-lsb-desktop   x86_64 4.1-27.el7       @anaconda/7.1               0.0  
 redhat-lsb-languages x86_64 4.1-27.el7       @anaconda/7.1               814  
 redhat-lsb-printing  x86_64 4.1-27.el7       @anaconda/7.1               0.0  

Transaction Summary
================================================================================
Remove  1 Package (+8 Dependent packages)

We don't intend to remove all this packages. Which is the right way when we install the myql V5.7 server?

Environment

  • Red Hat Enterprise Linux (RHEL) 7
  • mysql community edition rpms

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.