快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

怎么解决linux安装mysql提示conflictswithfilefrompackage的问题

这篇文章主要介绍“怎么解决linux安装MySQL提示conflicts with file from package的问题”,在日常操作中,相信很多人在怎么解决linux安装mysql提示conflicts with file from package的问题问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答”怎么解决linux安装mysql提示conflicts with file from package的问题”的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

在巴东等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供成都网站设计、网站建设 网站设计制作按需设计网站,公司网站建设,企业网站建设,高端网站设计,营销型网站建设,外贸网站制作,巴东网站建设费用合理。

linux安装提示conflicts with file from package的解决办法
 
在linux下面安装 mysql的时候出现了错误:
[root@localhost local]# rpm -ivh MySQL-server-5.5.24-1.el6.i686.rpm 
Shell代码    www.2cto.com  
Preparing...                ########################################### [100%]  
        file /usr/share/mysql/charsets/cp1251.xml from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/czech/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/danish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/dutch/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/english/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/estonian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/french/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/german/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/greek/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/hungarian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/italian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686   www.2cto.com    
        file /usr/share/mysql/japanese/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/korean/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/norwegian-ny/errmsg.sys from install
of MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/norwegian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/polish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/portuguese/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/romanian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/russian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/serbian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/slovak/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/spanish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/swedish/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
        file /usr/share/mysql/ukrainian/errmsg.sys from install of
MySQL-server-5.5.24-1.el6.i686 conflicts with file from package
mysql-libs-5.1.52-1.el6_0.1.i686  
 
原因由包冲突引起的!  www.2cto.com  
解决思路,先移除冲突的libs包,在进行安装 
 
yum -y remove mysql-libs-5.1.52*        -y的意思就是不用询问是否remove
卸载完成之后,再安装MySQL成功了
rpm -ivh MySQL-server-5.5.24-1.el6.i686.rpm 
 

到此,关于“怎么解决linux安装mysql提示conflicts with file from package的问题”的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注创新互联网站,小编会继续努力为大家带来更多实用的文章!


网站栏目:怎么解决linux安装mysql提示conflictswithfilefrompackage的问题
网址分享:http://6mz.cn/article/jjgise.html

其他资讯