LP #1050654: Add libmysqlclient.so.18(libmysqlclient_16) and libmysqlclient.so.18(libmysqlclient_18) to Provides of Percona-Server-shared-55 and Percona-XtraDB-Cluster-shared

Description

**Reported in Launchpad by Raghavendra D Prabhu last update 18-01-2018 08:15:53

> yum install percona-toolkit

Loaded plugins: changelog, fastestmirror, langpacks, presto, refresh-packagekit, security, yum-fast-downloader
Loading mirror speeds from cached hostfile

  • fedora: fedora.iitm.ac.in

  • livna: rpm.livna.org

  • rpmfusion-free: mirror.bjtu.edu.cn

  • rpmfusion-free-updates: mirror.bjtu.edu.cn

  • rpmfusion-nonfree: mirror.bjtu.edu.cn

  • rpmfusion-nonfree-updates: mirror.bjtu.edu.cn

  • updates: fedora.iitm.ac.in
    Resolving Dependencies
    --> Running transaction check
    ---> Package percona-toolkit.noarch 0:2.1.3-2 will be installed
    --> Processing Dependency: perl(DBD::mysql) >= 1.0 for package: percona-toolkit-2.1.3-2.noarch
    --> Running transaction check
    ---> Package perl-DBD-MySQL.x86_64 0:4.020-2.fc17 will be installed
    --> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.020-2.fc17.x86_64
    Package mysql-libs is obsoleted by Percona-Server-shared-51, but obsoleting package does not provide for requirements
    --> Finished Dependency Resolution
    Error: Package: perl-DBD-MySQL-4.020-2.fc17.x86_64 (fedora)
    Requires: libmysqlclient.so.18(libmysqlclient_16)(64bit)
    Available: mysql-libs-5.5.23-1.fc17.x86_64 (fedora)
    libmysqlclient.so.18(libmysqlclient_16)(64bit)
    Available: mysql-libs-5.5.27-1.fc17.x86_64 (updates)
    libmysqlclient.so.18(libmysqlclient_16)(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

======================

This is because:

rpm -q --provides Percona-Server-shared-55-5.5.27-rel28.1.296.rhel6.x86_64

libmysqlclient.so.18()(64bit)
libtool(/usr/lib64/mysql/plugin/libfnv1a_udf.la)
libtool(/usr/lib64/mysql/plugin/libfnv_udf.la)
libtool(/usr/lib64/mysql/plugin/libmurmur_udf.la)
mysql-shared
Percona-Server-shared-55 = 5.5.27-rel28.1.296.rhel6
Percona-Server-shared-55(x86-64) = 5.5.27-rel28.1.296.rhel6

So, Percona-Server-shared doesn't provide libmysqlclient.so.18(libmysqlclient_16)(64bit) which is why the build fails.

In contrast, mysql-libs (the upstream counterpart) provides following:

config(mysql-libs) = 5.5.27-1.fc17
libmysqlclient.so.18
libmysqlclient.so.18(libmysqlclient_16)
libmysqlclient.so.18(libmysqlclient_18)
mysql-libs = 5.5.27-1.fc17
mysql-libs(x86-32) = 5.5.27-1.fc17

from http://pkgs.org/fedora-17/fedora-updates-i386/mysql-libs-5.5.27-1.fc17.i686.rpm.html#provides

1. So, we need to update the spec file for Percona-Server-shared with

libmysqlclient.so.18(libmysqlclient_16)
libmysqlclient.so.18(libmysqlclient_18)

2. Alternatively, we can also put mysql-libs in provides. There is no mysql-shared. This also causes problems elsewhere.

Note, that this problem will arise in CentOS too once perl-DBD-MySQL is updated in its repos.

Environment

None

Activity

lpjirasync 
January 20, 2018 at 3:16 PM

**Comment from Launchpad by: David Busby on: 13-06-2013 14:17:36

update mariadb-libs now appearing as candidate on Fedora18


--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.3-6.fc18 will be installed
--> Processing Dependency: libmysqlclient.so.18(libmysqlclient_16)(64bit) for package: MySQL-python-1.2.3-6.fc18.x86_64
--> Processing Dependency: libmysqlclient.so.18()(64bit) for package: MySQL-python-1.2.3-6.fc18.x86_64
--> Running transaction check
---> Package mariadb-libs.x86_64 0:5.5.31-1.fc18 will be installed
--> Finished Dependency Resolution

...
mariadb-libs-5.5.31-1.fc18.x86_64 conflicts with file from package Percona-Server-server-51-5.1.69-rel14.7.572.rhel6.x86_64
...

Percona-Server-shared-51-5.1.69-rel14.7.572.rhel6.x86_64
Percona-Server-client-51-5.1.69-rel14.7.572.rhel6.x86_64
Percona-Server-server-51-5.1.69-rel14.7.572.rhel6.x86_64

lpjirasync 
January 20, 2018 at 3:16 PM

**Comment from Launchpad by: Laurynas Biveinis on: 31-05-2013 04:21:40

Please post a new bug. Thanks!

lpjirasync 
January 20, 2018 at 3:15 PM

**Comment from Launchpad by: mente on: 30-05-2013 09:24:47

I'm not able to update from Percona 5.5.30 to 5.5.31. Not sure whether this bug is a appropriate place to post, but I can create a new one if it's not only my problem. My steps to reproduce:
$ yum --enablerepo=percona upgrade
....
--> Running transaction check
---> Package Percona-Server-client-55.x86_64 0:5.5.30-rel30.2.508.rhel6 will be updated
---> Package Percona-Server-client-55.x86_64 0:5.5.31-rel30.3.520.rhel6 will be an update
---> Package Percona-Server-server-55.x86_64 0:5.5.30-rel30.2.500.rhel6 will be updated
---> Package Percona-Server-server-55.x86_64 0:5.5.31-rel30.3.520.rhel6 will be an update
---> Package Percona-Server-shared-51.x86_64 0:5.1.68-rel14.6.551.rhel6 will be obsoleting
---> Package Percona-Server-shared-55.x86_64 0:5.5.28-rel29.1.335.rhel6 will be updated
---> Package Percona-Server-shared-55.x86_64 0:5.5.31-rel30.3.520.rhel6 will be obsoleting
---> Package Percona-Server-shared-compat.x86_64 0:5.5.31-rel30.3.520.rhel6 will be obsoleting
---> Package mysql-libs.x86_64 0:5.5.31-1.el6.remi will be obsoleted
---> Package percona-toolkit.noarch 0:2.1.8-1 will be updated
---> Package percona-toolkit.noarch 0:2.2.2-1 will be an update
---> Package percona-xtrabackup.x86_64 0:2.1.1-600.rhel6 will be updated
---> Package percona-xtrabackup.x86_64 0:2.1.3-608.rhel6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

...
Running Transaction Test

Transaction Check Error:
file /usr/lib64/mysql/libmysqlclient.so.16.0.0 from install of Percona-Server-shared-51-5.1.68-rel14.6.551.rhel6.x86_64 conflicts with file from package compat-mysql51-5.1.54-1.el6.remi.x86_64
file /usr/lib64/mysql/libmysqlclient_r.so.16.0.0 from install of Percona-Server-shared-51-5.1.68-rel14.6.551.rhel6.x86_64 conflicts with file from package compat-mysql51-5.1.54-1.el6.remi.x86_64
file /usr/lib64/libmysqlclient.so.16.0.0 conflicts between attempted installs of Percona-Server-shared-51-5.1.68-rel14.6.551.rhel6.x86_64 and Percona-Server-shared-compat-5.5.31-rel30.3.520.rhel6.x86_64
file /usr/lib64/libmysqlclient_r.so.16.0.0 conflicts between attempted installs of Percona-Server-shared-51-5.1.68-rel14.6.551.rhel6.x86_64 and Percona-Server-shared-compat-5.5.31-rel30.3.520.rhel6.x86_64

Error Summary
-------------
Using CentOS 6.4. Conflicting package is from remi repository. https://bugs.launchpad.net/percona-server/+bug/1104522 could be related.

lpjirasync 
January 20, 2018 at 3:15 PM

**Comment from Launchpad by: Ignacio Nin on: 24-05-2013 00:19:54

Hello,

As for PXC, this is no longer reproducible in either CentOS 5 or 6, possible due to related fixes in the other projects – particularly the fix for bug lp:1031427.

Marking as Fix Released.

lpjirasync 
January 20, 2018 at 3:15 PM

**Comment from Launchpad by: Daniel Nichter on: 12-03-2013 15:31:29

Ignacio|56: Daniel: https://bugs.launchpad.net/percona-server/+bug/1050654 has been fixed as part of the fixes for Percona Server-

Done

Details

Assignee

Reporter

Components

Priority

Created January 20, 2018 at 3:12 PM
Updated December 19, 2023 at 7:33 AM
Resolved January 20, 2018 at 3:13 PM