[dianyi@localhost ~]$ rpm -qa|grep mysql
mysql-libs-5.1.52-1.el6_0.1.x86_64
[dianyi@localhost ~]$ rpm -e mysql-libs-5.1.52-1.el6_0.1.x86_64
error: Failed dependencies:
libmysqlclient.so.16()(64bit) is needed by (installed) postfix-2:2.6.6-2.2.el6_1.x86_64
libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by (installed) postfix-2:2.6.6-2.2.el6_1.x86_64
mysql-libs is needed by (installed) postfix-2:2.6.6-2.2.el6_1.x86_64
[dianyi@localhost ~]$ rpm -e postfix-2:2.6.6-2.2.el6_1.x86_64
error: package postfix-2:2.6.6-2.2.el6_1.x86_64 is not installed
解决办法:
<span style="font-size:18px;color:#ff0000;"><strong>rpm -e --nodeps mysql-libs-5.1.52-1.el6_0.1.x86_64</strong></span>
CentOS MySQL卸载问题
本文记录了在CentOS系统中遇到的MySQL卸载难题及其解决过程。当尝试卸载自带的MySQL时,由于依赖问题导致无法正常移除。文中详细介绍了如何通过特定命令绕过依赖检查来成功卸载。
2万+

被折叠的 条评论
为什么被折叠?



