您好,登录后才能下订单哦!
这篇文章主要讲解了“怎么解决MySQL的conflicts with file from package报错问题”,文中的讲解内容简单清晰,易于学习与理解,下面请大家跟着小编的思路慢慢深入,一起来研究和学习“怎么解决MySQL的conflicts with file from package报错问题”吧!
再给新项目使用rpm安装MySQL的时候,报错:
[root@zhanglin ~]# rpm -ivh MySQL-server-5.6.19-1.el6.x86_64.rpm
Preparing... ########################################### [100%]
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.19-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-server-5.6.19-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-server-5.6.19-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-server-5.6.19-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-server-5.6.19-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.61-4.el6.x86_64
1、查看是否安装了MySQL
[root@zhanglin ~]# rpm -aq|grep mysql
mysql-libs-5.1.61-4.el6.x86_64
2、删除系统自带的。
mysql-libs-5.1.61-4.el6.x86_64的库(这是linux自带的,在装系统的时候被勾选了)所以需要先删除以前的库才能安装!
执行命令:
[root@zhanglin ~]# rpm -e mysql-libs-5.1.61-4.el6.x86_64 ------可能删不掉,因为有些依赖的包
[root@zhanglin ~]# rpm -e mysql-libs-5.1.61-4.el6.x86_64 --nodeps ------强制卸载!
3、再次检查是否删除掉,若删掉就可以rpm安装了。
感谢各位的阅读,以上就是“怎么解决MySQL的conflicts with file from package报错问题”的内容了,经过本文的学习后,相信大家对怎么解决MySQL的conflicts with file from package报错问题这一问题有了更深刻的体会,具体使用情况还需要大家实践验证。这里是亿速云,小编将为大家推送更多相关知识点的文章,欢迎关注!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。