Percona Server with XtraDB

yum instructions for CentOS 6

Reported by Anil on 2011-12-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server
High
Ignacio Nin
5.1
High
Ignacio Nin
5.5
High
Ignacio Nin

Bug Description

http://www.percona.com/doc/percona-server/5.5/installation.html

I had to run "yum install Percona-Server-shared-compat" before "yum install Percona-Server-client-55 Percona-Server-server-55" since I kept getting the below errors.

Transaction Check Error:
  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
  file /usr/share/mysql/japanese/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/korean/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/norwegian-ny/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/norwegian/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/polish/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/portuguese/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/romanian/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/russian/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/serbian/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/slovak/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/spanish/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/swedish/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/ukrainian/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

Error Summary

Tags: pkg Edit Tag help

Related branches

lp:~ignacio-nin/percona-server/5.5-bug908620
Merged into lp:percona-server/5.5 at revision 336
Stewart Smith (community): Approve on 2012-10-24
George Ormond Lorch III: Needs Fixing (g2) on 2012-10-11
Alexey Kopytov (akopytov) wrote :

Duplicate of bug #908166.

Download full text (3.9 KiB)

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_in...

Read more...

tags: added: pkg
removed: doc
Ignacio Nin (ignacio-nin) wrote :

The Percona Server install need to conflict with mysql-libs. Percona-Server-server-5* is the package that triggers the error, however having Percona-Server-shared-5* conflict would also serve this purpose since it's required for Percona-Server-server-5*.

Trying to make Percona-Server-server-5* with stock mysql-libs, for example by moving the errmsg.sys files to Percona-Server-shared-5* and just depending on mysql-libs won't work because of the different versions of the messages that would appear.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers