When install mariadb-libs, it will install Percona-Server-shared-56. However, the Percona-Server-shared-56 is conflict with MariaDB-shared/MariaDB-common, they have the same file `/etc/my.cnf`, and a almost the same so file `/usr/lib64/libmysqlclient.so.18.1.0`( only the mirco version is different)
some more information
When install mariadb-libs, it will install Percona- Server- shared- 56. However, the Percona- Server- shared- 56 is conflict with MariaDB- shared/ MariaDB- common, they have the same file `/etc/my.cnf`, and a almost the same so file `/usr/lib64/ libmysqlclient. so.18.1. 0`( only the mirco version is different)
$ rpm -ql Percona- Server- shared- 56 libmysqlclient. so.18.1. 0 libmysqlclient_ r.so.18. 1.0
/etc/my.cnf
/usr/lib64/
/usr/lib64/
$ rpm -ql MariaDB-shared cnf.d/client. cnf libmysqlclient. so libmysqlclient. so.18 libmysqlclient. so.18.0. 0 libmysqlclient_ r.so libmysqlclient_ r.so.18 libmysqlclient_ r.so.18. 0.0
/etc/my.cnf.d
/etc/my.
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
/usr/lib64/
$ rpm -ql MariaDB-common
/etc/my.cnf
...
$ yum install mariadb-libs mirror1. spango. com mirror1. spango. com supportex. net XtraDB- Cluster- shared- 55, trying to install 1:Percona- XtraDB- Cluster- shared- 55-5.5. 41-25.11. 853.el7. x86_64 instead XtraDB- Cluster- shared- 55.x86_ 64 1:5.5.41- 25.11.853. el7 will be installed
Loaded plugins: fastestmirror, ovl, priorities, versionlock
Loading mirror speeds from cached hostfile
* base: centos.
* epel: mirror.vutbr.cz
* extras: centos.
* updates: mirrors.
1322 packages excluded due to repository priority protections
Package mariadb-libs is obsoleted by Percona-
Resolving Dependencies
--> Running transaction check
---> Package Percona-
--> Finished Dependency Resolution
Dependencies Resolved
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===== XtraDB- Cluster- shared- 55 x86_64 1:5.5.41- 25.11.853. el7 percona- release- x86_64 565 k
Package Arch Version Repository Size
=======
Installing:
Percona-
Transaction Summary ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= =====
=======
Install 1 Package
Total download size: 565 k
Installed size: 565 k
$ yum install MariaDB-shared mirror1. spango. com mirror1. spango. com supportex. net shared. x86_64 0:10.0. 24-1.el7. centos will be installed shared- 10.0.24- 1.el7.centos. x86_64 common. x86_64 0:10.0. 24-1.el7. centos will be installed
Loaded plugins: fastestmirror, ovl, priorities, versionlock
Loading mirror speeds from cached hostfile
* base: centos.
* epel: mirror.vutbr.cz
* extras: centos.
* updates: mirrors.
1322 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-
--> Processing Dependency: MariaDB-common for package: MariaDB-
--> Running transaction check
---> Package MariaDB-
--> Finished Dependency Resolution
Dependencies Resolved
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===== ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ===== 1.el7.centos mariadb 1.2 M 1.el7.centos mariadb 43 k
Package Arch Version Repository Size
=======
Installing:
MariaDB-shared x86_64 10.0.24-
Installing for dependencies:
MariaDB-common x86_64 10.0.24-
Transaction Summary ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= =====
=======
Install 1 Package (+1 Dependent package)
Total download size: 1.2 M
Installed size: 1.2 M