Installing mysql-libs on server with MySQL-Server5.5

空扰寡人 提交于 2019-12-01 05:33:57

问题


I'm trying to install ReviewBoard on my server, but I keep on getting the following errors.

  file /usr/share/mysql/greek/errmsg.sys from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
  file /usr/share/mysql/hungarian/errmsg.sys from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64
  file /usr/share/mysql/italian/errmsg.sys from install of mysql-libs-5.1.69-1.el6_4.x86_64 conflicts with file from package MySQL55-server-5.5.32-1.cp1136.x86_64

The OS is Centos 6. Could anyone please explain to me what I should do to fix this issue? I have read that I should uninstall the MySQL server first, but I have numerous websites running from it, so it is a no go. What do you suggest I do? Is there a way I can bypass this?

Kind Regards, EZFrag


回答1:


Well, this is a common problem with MySQL packages within CentOS 6. Yum is trying to satisfy requirements by installing mysql-libs-5.1.69-1.el6_4.x86_64. This package conflicts with files from package MySQL55-server-5.5.32-1.cp1136.x86_64.

There is a way to fix this without breaking your rpm database or uninstalling mysql55, just download mysql compatibility libs from mysql for el6 (CentOS and RHEL6 are full binary compatible). Get MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm (just google for it) and install this rpm using: rpm -ihv MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm.

After this you can install ReviewBoard without yum trying to install mysql51 libs for satisfying dependencies.

Here is the link to the official package provided by MySQL: MySQL shared compat




回答2:


I've faced this issue at mysql upgrade to 5.5-remi, but it caused by old yum cache.



来源:https://stackoverflow.com/questions/17531173/installing-mysql-libs-on-server-with-mysql-server5-5

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!