Installation issue: Percona-Server-shared-56 conflicts with Percona-Server-shared-55

I am not able to install Percona 5.5 using yum.

Error: Percona-Server-shared-56 conflicts with Percona-Server-shared-55

How can I resolve this?

[root]# yum install Percona-Server-client-55 Percona-Server-server-55
Loaded plugins: fastestmirror, priorities, security
Loading mirror speeds from cached hostfile

  • atomic: atomic.mirror.uber.com.au
  • base: centos-mirror.jchost.net
  • extras: centos.mirror.constant.com
  • updates: centos.mirror.nac.net
    180 packages excluded due to repository priority protections
    Setting up Install Process
    Resolving Dependencies
    → Running transaction check
    —> Package Percona-Server-client-55.x86_64 0:5.5.33-rel31.1.566.rhel6 will be installed
    → Processing Dependency: Percona-Server-shared-55 for package: Percona-Server-client-55-5.5.33-rel31.1.566.rhel6.x86_64
    —> Package Percona-Server-server-55.x86_64 0:5.5.33-rel31.1.566.rhel6 will be installed
    → Running transaction check
    —> Package Percona-Server-shared-55.x86_64 0:5.5.33-rel31.1.566.rhel6 will be obsoleting
    —> Package mysql-libs.x86_64 0:5.1.61-1.el6_2.1 will be obsoleted
    → Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql-devel-5.1.61-1.el6_2.1.x86_64
    → Processing Dependency: libmysqlclient.so.16()(64bit) for package: mysql-5.1.61-1.el6_2.1.x86_64
    → Processing Dependency: libmysqlclient.so.16()(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
    → Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    → Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: mysql-5.1.61-1.el6_2.1.x86_64
    → Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: 2:postfix-2.6.6-2.2.el6_1.x86_64
    → Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
    → Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql-devel-5.1.61-1.el6_2.1.x86_64
    → Processing Dependency: libmysqlclient_r.so.16()(64bit) for package: mysql-5.1.61-1.el6_2.1.x86_64
    → Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16)(64bit) for package: mysql-5.1.61-1.el6_2.1.x86_64
    → Running transaction check
    —> Package Percona-Server-shared-compat.x86_64 0:5.5.33-rel31.1.566.rhel6 will be obsoleting
    —> Package mysql.x86_64 0:5.1.61-1.el6_2.1 will be updated
    —> Package mysql.x86_64 0:5.5.33-20.el6.art will be an update
    → Processing Dependency: real-mysql-libs(x86-64) = 5.5.33-20.el6.art for package: mysql-5.5.33-20.el6.art.x86_64
    —> Package mysql-devel.x86_64 0:5.1.61-1.el6_2.1 will be updated
    —> Package mysql-devel.x86_64 0:5.5.33-20.el6.art will be an update
    → Running transaction check
    —> Package Percona-Server-shared-56.x86_64 0:5.6.13-rc60.5.417.rhel6 will be obsoleting
    —> Package mysql-libs.x86_64 0:5.1.61-1.el6_2.1 will be updated
    —> Package mysql-libs.x86_64 0:5.5.33-20.el6.art will be an update
    → Processing Conflict: Percona-Server-shared-56-5.6.13-rc60.5.417.rhel6.x86_64 conflicts Percona-Server-shared-55
    → Finished Dependency Resolution
    Error: Percona-Server-shared-56 conflicts with Percona-Server-shared-55
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

Seems that you have pretty mess in your current packages and available repositories. You seem to have installed various mysql packages from all these repositories: Centos, art, Percona. Also you seems to have Percona-Server-shared-56 already installed, while you cannot mix 5.5 and 5.6 packages.

Try to uninstall all the existing MySQL and Percona Server packages first, and then re-try installing Percona Server 5.5.

Thanks, your advice helped me! The problem was the mysql-libs package which presumably had been installed by something else.

yum remove mysql-libs
yum update

Hi,try:

  1. Download mysql-community-libs-compat from mysql ([url]https://dev.mysql.com/downloads/mysql/[/url])
    rpm -i mysql-community-libs-compat-5.7.17-1.el7.x86_64.rpm

  2. Install perl-DBD-MySQL
    yum install perl-DBD-MySQL

  3. Install percona-xtrabackup
    yum install percona-xtrabackup

1 Like