E
E
EzheG2014-03-14 11:46:46
linux
EzheG, 2014-03-14 11:46:46

How to fix yum upgrade error: mysql-libs conflicts with Percona XtraDB Cluster shared?

Hello. There were conflicts while running the yum upgrade command

# yum upgrade
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/metalink                                                                                       |  23 kB     00:00     
 * base: mirror.majorhost.net
 * epel: fedora-mirror01.rbc.ru
 * extras: mirror.majorhost.net
 * ius: ius.cu.be
 * updates: mirror.corbina.net
base                                                                                                | 3.7 kB     00:00     
extras                                                                                              | 3.4 kB     00:00     
ius                                                                                                 | 2.1 kB     00:00     
ius/primary_db                                                                                      | 132 kB     00:00     
nginx                                                                                               | 2.9 kB     00:00     
percona                                                                                             |  951 B     00:00     
updates                                                                                             | 3.4 kB     00:00     
updates/primary_db                                                                                  | 1.8 MB     00:00     
vesta                                                                                               | 2.9 kB     00:00     
Setting up Upgrade Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package Percona-Server-client-56.i686 0:5.6.15-rel63.0.519.rhel6 will be updated
---> Package Percona-Server-client-56.i686 0:5.6.16-rel64.0.el6 will be an update
---> Package Percona-Server-server-56.i686 0:5.6.15-rel63.0.519.rhel6 will be updated
---> Package Percona-Server-server-56.i686 0:5.6.16-rel64.0.el6 will be an update
---> Package Percona-Server-shared-56.i686 0:5.6.15-rel63.0.519.rhel6 will be updated
--> Processing Dependency: libmysqlclient.so.18 for package: php-mysql-5.4.26-1.el6.remi.i686
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16) for package: php-mysql-5.4.26-1.el6.remi.i686
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18) for package: php-mysql-5.4.26-1.el6.remi.i686
---> Package Percona-Server-shared-56.i686 0:5.6.16-rel64.0.el6 will be an update
---> Package coreutils.i686 0:8.4-31.el6 will be updated
---> Package coreutils.i686 0:8.4-31.el6_5.1 will be an update
---> Package coreutils-libs.i686 0:8.4-31.el6 will be updated
---> Package coreutils-libs.i686 0:8.4-31.el6_5.1 will be an update
---> Package upstart.i686 0:0.6.5-13.el6_5.2 will be updated
---> Package upstart.i686 0:0.6.5-13.el6_5.3 will be an update
--> Running transaction check
---> Package Percona-XtraDB-Cluster-shared-56.i686 1:5.6.15-25.4.731.rhel6 will be installed
---> Package mysql55-libs.i686 0:5.5.36-1.ius.el6 will be installed
--> Processing Conflict: 1:Percona-XtraDB-Cluster-shared-56-5.6.15-25.4.731.rhel6.i686 conflicts Percona-Server-shared-56
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.i686 conflicts mysql-libs < 5.5
--> Finished Dependency Resolution
Error: Percona-XtraDB-Cluster-shared-56 conflicts with Percona-Server-shared-56-5.6.16-rel64.0.el6.i686
Error: mysql55-libs conflicts with 1:Percona-XtraDB-Cluster-shared-56-5.6.15-25.4.731.rhel6.i686
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

It seems like a bug with Percona XtraDB, I don’t even have it and don’t need it, so I execute the following command
# yum update --exclude=percona-xtraDB*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.majorhost.net
 * epel: fedora-mirror01.rbc.ru
 * extras: mirror.majorhost.net
 * ius: ius.cu.be
 * updates: mirror.corbina.net
Setting up Update Process
Resolving Dependencies
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
--> Running transaction check
---> Package Percona-Server-client-56.i686 0:5.6.15-rel63.0.519.rhel6 will be updated
---> Package Percona-Server-client-56.i686 0:5.6.16-rel64.0.el6 will be an update
---> Package Percona-Server-server-56.i686 0:5.6.15-rel63.0.519.rhel6 will be updated
---> Package Percona-Server-server-56.i686 0:5.6.16-rel64.0.el6 will be an update
---> Package Percona-Server-shared-56.i686 0:5.6.15-rel63.0.519.rhel6 will be updated
--> Processing Dependency: libmysqlclient.so.18 for package: php-mysql-5.4.26-1.el6.remi.i686
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16) for package: php-mysql-5.4.26-1.el6.remi.i686
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18) for package: php-mysql-5.4.26-1.el6.remi.i686
---> Package Percona-Server-shared-56.i686 0:5.6.16-rel64.0.el6 will be an update
---> Package coreutils.i686 0:8.4-31.el6 will be updated
---> Package coreutils.i686 0:8.4-31.el6_5.1 will be an update
---> Package coreutils-libs.i686 0:8.4-31.el6 will be updated
---> Package coreutils-libs.i686 0:8.4-31.el6_5.1 will be an update
---> Package upstart.i686 0:0.6.5-13.el6_5.2 will be updated
---> Package upstart.i686 0:0.6.5-13.el6_5.3 will be an update
--> Running transaction check
---> Package Percona-Server-shared-55.i686 0:5.5.35-rel33.0.611.rhel6 will be installed
---> Package mysql55-libs.i686 0:5.5.36-1.ius.el6 will be installed
--> Processing Conflict: mysql55-libs-5.5.36-1.ius.el6.i686 conflicts mysql-libs < 5.5
--> Finished Dependency Resolution
Error: mysql55-libs conflicts with Percona-Server-shared-55-5.5.35-rel33.0.611.rhel6.i686
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Please help resolve this conflict. Googling didn't help.
Additional info, in php the line also comes out:
Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50534 Library:50615 in...

CentOS 6.5
PHP 5.4.26 (cli) (built: Mar 5 2014 16:04:34)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
EzheG, 2014-03-14
@EzheG

Installation of mysql libraries version 5.6 helped
after which the file libmysqlclient.so.18.0.0 appeared in /usr/lib/mysql/

A
alexander sm1ly, 2014-04-11
@sm1ly

I set recently.
you need to remove mysql-libs, otherwise the percon will not get up, they conflict.
perkona itself, according to dependencies, will pull them out of the turnip. but from my own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question