Bug #63085 Can't install MySQL 5.5.17 on RHEL 6 via RPM-Package
Submitted: 3 Nov 2011 9:50 Modified: 10 Jan 2013 11:18
Reporter: Christoph Heimann Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Installing Severity:S3 (Non-critical)
Version:5.5.17 OS:Linux (RHEL 6.1)
Assigned to: Joerg Bruehe CPU Architecture:Any

[3 Nov 2011 9:50] Christoph Heimann
Description:
It is not possible to install the MySQL-Server 5.5.17 on RHEL 6.1 via RPM package. This error only occurs if the mysql-libs-5.1.52-1.el6_0.1.x86_64 - package is installed. This package is needed by applications like postfix. See the error message in the "How to repeat:" field. Is there a known workaround for this problem?

regards
--
Christoph

How to repeat:
rpm -ihv MySQL-server-5.5.17-1.el6.x86_64.rpm
Preparing...                ########################################### [100%]
        file /usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.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 MySQL-server-5.5.17-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.x86_64

Suggested fix:
n.a.
[4 Nov 2011 14:53] Thiago Henrique de Lima
I had the same problem. I installed using the --force the rpm:
~# rpm -ivh --force mysql-server-5.5.17-1.linux2.6.x86_64.rpm

I do not think I will have problems, but if so, warn them
[16 Dec 2011 12:49] Joerg Bruehe
For a longer description, please see the text in bug#63433 - basically, this is the same problem.

(I apologize for the fact that I saw the later bug first.)

We are discussing whether we should provide RPMs of MySQL 5.5 that follow the RedHat conventions, but this has not yet been decided, so do *not* take this to be an announcement.

I cannot give any estimate when we will provide a solution (either by packages, or by workaround instructions, or by ...) for this, sorry.
All I can tell is that we are aware of this problem and try to help with it.
[10 Jan 2013 11:18] Erlend Dahl
Fixed in 5.5.27.
[27 Mar 2013 11:32] Bryan Hollis
Yes, 

This is an easy fix. Fortunately it is CentOS or el6 vs. Fedora.

Step 1: In ssh terminal as root # yum remove mysql-libs  

- You are getting rid of the older Sql libraries that are not compatible. 

Step 2: # yum clean dbcache  (Clean things up)
Step 3: Install new Mysql Server and dependencies from a clean slate. 

You will lose many dependencies when you remove the older packages, but you can then update other items like phpMyAdmin...all depends on the distro. This worked for me after I had a full install of CentOS 6.4 with same Sql and CPanels and the change went without a hitch. Best of luck - B.P.H
[28 Aug 2013 23:26] Gheorghe Lupu
Same problem occurs when installing 7.3 cluster (5.6.11-ndb-7.3.3) on RHEL 6.3.

So i believe the report in this thread that this issue is fixed in MySQL 5.5 is not completely true.

Here is the error:
[root@blade06 tmp]# rpm -Uhv MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64.rpm
Preparing...                ########################################### [100%]
        file /usr/share/mysql/czech/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/danish/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/english/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/estonian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/french/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/german/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/greek/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/hungarian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/italian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/japanese/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/korean/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/norwegian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/polish/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/romanian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/russian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/serbian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/slovak/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/spanish/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/swedish/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/ukrainian/errmsg.sys from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
        file /usr/share/mysql/charsets/Index.xml from install of MySQL-Cluster-server-gpl-7.3.2-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64

The "yum remove mysql-libs" proposed workaround will remove important dependent packages like crontabs, so i want to ask you if using "rpm --force" will do the job. Will the cluster still install properly without any side-effects?

Thanks,
G.
[12 Jan 2015 16:50] Ricardo Vilhena
Hello. I'm having the same problem. I'm installing version 7.3.7 on a CentOS 6.6.

My workaround was: rpm -e --nodeps mysql-libs-5.1.73-3.el6_5.x86_64

Done!