宇筱博客

  • 解决办法
  • 学无止境
  • 记录时光
  • 百宝箱
宇筱博客
点滴记忆,汇聚成海。
  1. 首页
  2. 解决办法
  3. 正文

Linux 卸载mysql-libs包出现错误

2017年1月5日 578点热度 0人点赞 0条评论

在Red Hat Enterprise Linux6.6上安装MySQL时,出现与package mysql-libs-5.1.73-3.el6_5.x86_64冲突的情况

[root@localhost tmp]# rpm -ivh MySQL-server-advanced-5.6.20-1.rhel5.x86_64.rpm
Preparing...                ########################################### [100%]
       file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-advanced-5.6.20-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64
>       file /usr/share/mysql/danish/errmsg.sys from install of MySQL-server-advanced-5.6.20-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64
>       file /usr/share/mysql/dutch/errmsg.sys from install of MySQL-server-advanced-5.6.20-1.rhel5.x86_64 conflicts with file from package mysql-libs-5.1.73-3.el6_5.x86_64
..............................................................................

在安装之前检查发现已经有了mysql-libs包,但是并没有卸载该包,既然冲突了,就必须要卸载mysql-libs-5.1.73-3.el6_5.x86_64包,卸载过程中出现error: Failed dependencies,依赖性的问题。 使用参数--nodeps删除了该组件

[root@localhost tmp]# rpm -qa | grep -i mysql

mysql-libs-5.1.73-3.el6_5.x86_64

[root@localhost tmp]# rpm -ev mysql-libs-5.1.73-3.el6_5.x86_64  

error: Failed dependencies:

       libmysqlclient.so.16()(64bit) is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64

       libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64

       mysql-libs is needed by (installed) postfix-2:2.6.6-6.el6_5.x86_64

[root@localhost tmp]# rpm -ev mysql-libs-5.1.73-3.el6_5.x86_64 --nodeps

原文链接:http://www.cnblogs.com/kerrycode/p/4353755.html

标签: 暂无
最后更新:2022年6月24日

小渔民

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

COPYRIGHT © 2025 宇筱博客. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

豫ICP备15017825号-2