Как исправить ошибку при обновлении через yum: mysql-libs conflicts with Percona XtraDB Cluster shared?

Здравствуйте. Возникли конфликты при выполнении команды yum upgrade
# 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


С Percona XtraDB вроде как баг, он даже не стоит у меня и не нужен, поэтому выполняю такую команду
# 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


Помогите разрешить данный конфликт. Гугление не помогло.

Доп инфа, в php также вылезает строчка:
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)
  • Вопрос задан
  • 4446 просмотров
Решения вопроса 1
@EzheG Автор вопроса
Помогла установка mysql библиотек версии 5.6
http://rpm.pbone.net/index.php3/stat/4/idpl/20907479/dir/centos_other/com/mysql56-libs-5.6.10-2.ius.centos6.i686.rpm.html

после чего в /usr/lib/mysql/ появился файл libmysqlclient.so.18.0.0
Ответ написан
Комментировать
Пригласить эксперта
Ответы на вопрос 1
sm1ly
@sm1ly
beardman
я ставил недавно.

надо удалить mysql-libs, иначе перкона не встанет, они конфликтуют.
перкона сама по зависимостям из репа вытащит их. но из своего.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы