Comment 2 for bug 908620

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

rpm -qa | grep mysql returns mysql-libs installed.

sudo yum install 'Percona-Server-*55'
...
...
...
..

fails with

  file /usr/share/mysql/charsets/cp1251.xml from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/czech/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/danish/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/dutch/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/english/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/estonian/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/french/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/german/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/greek/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/hungarian/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64
  file /usr/share/mysql/italian/errmsg.sys from install of Percona-Server-server-55-5.5.18-rel23.0.203.rhel.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

The problem here is different from the shared-compat issue.

mysql-libs is a combination of our Percona-Server-server and Percona-Server-shared.

However, this conflict is only marked in Percona-Server-shared but not in Percona-Server-server.

sudo repoquery --provides Percona-Server-server-55
        MySQL-server
        Percona-Server-server-55 = 5.5.27-rel28.1.296.rhel6
        Percona-Server-server-55(x86-64) = 5.5.27-rel28.1.296.rhel6
        adt_null.so()(64bit)
        auth.so()(64bit)
        auth_pam.so()(64bit)
        auth_pam_compat.so()(64bit)
        auth_socket.so()(64bit)
        auth_test_plugin.so()(64bit)
        config(Percona-Server-server-55) = 5.5.27-rel28.1.296.rhel6
        dialog.so()(64bit)
        handlersocket.so.0()(64bit)
        libdaemon_example.so()(64bit)
        libfnv1a_udf.so.0()(64bit)
        libfnv_udf.so.0()(64bit)
        libmurmur_udf.so.0()(64bit)
        libtool(/usr/lib64/mysql/plugin/handlersocket.la)
        mypluglib.so()(64bit)
        mysql-server
        qa_auth_client.so()(64bit)
        qa_auth_interface.so()(64bit)
        qa_auth_server.so()(64bit)
        semisync_master.so()(64bit)
        semisync_slave.so()(64bit)

sudo repoquery --provides Percona-Server-shared-51
        MySQL-shared
        Percona-Server-shared-51 = 5.1.65-rel14.0.475.rhel6
        Percona-Server-shared-51(x86-64) = 5.1.65-rel14.0.475.rhel6
        Percona-XtraDB-shared
        libmysqlclient.so.16()(64bit)
        libmysqlclient.so.16(libmysqlclient_16)(64bit)
        libmysqlclient_r.so.16()(64bit)
        libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
        mysql-libs
        mysql-shared

Workaround: Manually remove mysql-libs before installing.

Fix: Add mysql-libs in the provides (if that is a way to record the conflict) or some other way.