Bug #82178 Dependency issues
Submitted: 9 Jul 2016 14:44 Modified: 1 Sep 2016 14:38
Reporter: Daniel Krysiak Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Packaging Severity:S3 (Non-critical)
Version:7.5.3 OS:CentOS
Assigned to: Terje Røsten CPU Architecture:Any

[9 Jul 2016 14:44] Daniel Krysiak
Description:
MySQL-Cluster-shared-gpl-7.5.3-1.el7.x86_64.rpm is not configured as replacement for mariadb-libs, which makes installation impossible.

How to repeat:
yum list installed | grep MySQL
MySQL-Cluster-client-gpl.x86_64        7.5.3-1.el7
MySQL-Cluster-server-gpl.x86_64        7.5.3-1.el7
MySQL-Cluster-shared-gpl.x86_64        7.5.3-1.el7

yum install  postfix MySQL-python
[...]
Dependencies Resolved

=====================================================================================================================
 Package                      Arch                   Version                           Repository               Size
=====================================================================================================================
Installing:
 MySQL-python                 x86_64                 1.2.3-11.el7                      base                     82 k
 postfix                      x86_64                 2:2.10.1-6.el7                    base                    2.4 M
Installing for dependencies:
 mariadb-libs                 x86_64                 1:5.5.47-1.el7_2                  updates                 755 k

Suggested fix:
MySQL-Cluster-shared-gpl-7.5.3-1.el7.x86_64.rpm should be described in specs as replacement for mariadb-libs.
[9 Jul 2016 15:25] MySQL Verification Team
Thank you for the bug report. This replacement of libraries should be done by the user and not makes part of MySQL install process removing third part libraries.
[9 Jul 2016 15:29] Daniel Krysiak
Hi,

MySQL-Cluster-shared-gpl.x86_64 is installed, but YUM doesn't know it's mariadb-libs replacement. YUM is forcing mariadb-libs installation, which will fail because of file conflicts. This makes "clean and nice -> production" installation impossible.
[9 Jul 2016 20:38] Terje Røsten
Hi Jan and thanks for your report!

We know there are issues with MySQL Cluster RPM package set, many of these
issues have been resolved in the MySQL Server RPM package set, we hope bring those changes over to MySQL Cluster in the future.
[1 Sep 2016 14:38] Jon Stephens
Fixed in NDB 7.5.4 by WL#9129. Closed.
[12 May 2017 4:44] Ralph Anthony Planteras
Hello, replacing mariadb-libs will make the mysqld_safe command will not be available which is used is starting mysql server in mysql cluster. Am i right? Or is it ok to start the mysql using mysqld -u root or service mysql start? please advise. Thanks.
[12 May 2017 6:01] Terje Røsten
Hi!

MySQL and MySQL Cluster on RHEL7 don't use mysqld_safe. 
It's not needed as RHEL7 is using systemd, and systemd is 
clever enough to provide restart and others features found
in mysqld_safe.

You can read more about these things here:

 https://dev.mysql.com/doc/refman/5.7/en/using-systemd.html

for maintaining MySQL server or MySQL Cluster on RPM based
platforms as RHEL7 please read also:

 https://dev.mysql.com/doc/refman/5.7/en/linux-installation-rpm.html
[12 May 2017 6:11] Ralph Anthony Planteras
Hi Terje!

Thank you very much for the information.
Will read the links you've provided.