西数超哥博客
运维经验教程分享的博客

Mysql数据库安装冲突:Package(s) mysql-libs available, but not installed.和file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server解决办法

今天需要安装一个包:yum install  perl-DBD-MySQL.*  -y
结果一大堆错误:

.
.
.
  file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel4.x86_64
  file /usr/share/mysql/russian/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel4.x86_64
  file /usr/share/mysql/serbian/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel4.x86_64
  file /usr/share/mysql/slovak/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel4.x86_64
  file /usr/share/mysql/spanish/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel4.x86_64
  file /usr/share/mysql/swedish/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel4.x86_64
  file /usr/share/mysql/ukrainian/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server-5.5.16-1.rhel4.x86_64

按照之前思路就是想到卸载以后重新安装这些依赖包:

yum remove mysql-libs
结果又提示:
Package(s) mysql-libs available, but not installed.

于是查了很多资料终于解决了。
目前说下解决办法:基本意思是之前安装了mysql-libs-5.1.73-7.el6.x86_64 ,和将要操作的MySQL-server-5.5.16-1.rhel4.x86_64有冲突,需要进行一个兼容性处理。网上下载了MySQL-shared-compat-5.5.16-1.rhel4.x86_64.rpm包安装再去yum搞定,完美解决。

rpm包下载地址:http://downloads.mysql.com/archives/community/ 根据自己的把版本选择对应rpm包安装即可。我这里选择的是MySQL-shared-compat-5.5.16-1.rhel4.x86_64.rpm。

转载请注明:西数超哥博客www.ysidc.top» Mysql数据库安装冲突:Package(s) mysql-libs available, but not installed.和file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server解决办法

https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top

赞(0) 打赏
声明:本站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,若涉及侵权请及时告知,将会在第一时间删除。本站原创内容未经允许不得转载:西数超哥 » Mysql数据库安装冲突:Package(s) mysql-libs available, but not installed.和file /usr/share/mysql/romanian/errmsg.sys from install of mysql-libs-5.1.73-7.el6.x86_64 conflicts with file from package MySQL-server解决办法

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏