centos 自带mysql卸载时出现无法卸载情况

来源:互联网 发布:video.js ie8无法使用 编辑:程序博客网 时间:2024/06/05 22:40
曾经在阿里云服务器上安装了mysql,但是系统跑起来老是崩溃,显示mysql占资源太多。记得要把自带的mysql卸载掉就好了。[dianyi@localhost ~]$ rpm -qa|grep mysqlmysql-libs-5.1.52-1.el6_0.1.x86_64[dianyi@localhost ~]$ rpm -e mysql-libs-5.1.52-1.el6_0.1.x86_64error: 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_64error: package postfix-2:2.6.6-2.2.el6_1.x86_64 is not installed


解决办法:

rpm -e --nodeps mysql-libs-5.1.52-1.el6_0.1.x86_64
原创粉丝点击