问题描述
我正在尝试在我的服务器上安装 ReviewBoard,但我不断收到以下错误.
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
操作系统是 Centos 6.谁能解释一下我应该怎么做才能解决这个问题?我已经读过我应该先卸载 MySQL 服务器,但是我有很多网站都在上面运行,所以这是不行的.你建议我怎么做?有没有办法绕过这个?
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?
亲切的问候,EZFrag
Kind Regards, EZFrag
推荐答案
嗯,这是 CentOS 6 中 MySQL 软件包的常见问题.Yum 试图通过安装 mysql-libs-5.1.69- 来满足要求1.el6_4.x86_64
.此包与包 MySQL55-server-5.5.32-1.cp1136.x86_64
中的文件冲突.
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
.
有一种方法可以在不破坏 rpm 数据库或卸载 mysql55 的情况下解决此问题,只需从 mysql 下载 el6 的 mysql 兼容性库(CentOS 和 RHEL6 是完全二进制兼容的).获取 MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm
(只需 google 即可)并使用以下命令安装此 rpm:rpm -ihv MySQL-shared-compat-5.5.32-2.el6.x86_64.rpm
.
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
.
在此之后,您可以安装 ReviewBoard 而无需 yum 尝试安装 mysql51 库以满足依赖关系.
After this you can install ReviewBoard without yum trying to install mysql51 libs for satisfying dependencies.
这里是 MySQL 提供的官方包的链接:MySQL shared compat
Here is the link to the official package provided by MySQL: MySQL shared compat
这篇关于使用 MySQL-Server5.5 在服务器上安装 mysql-libs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!