LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1409|回复: 2

如何卸载已经安装好的mysql软件包?

[复制链接]
发表于 2006-9-4 15:11:37 | 显示全部楼层 |阅读模式
在安装redhat9.0时,已经装好了mysql软件包,不过我想学习如何安装mysql,所以就得先卸掉这个已经装好的,不过用rpm -e mysql,提示:
error: Failed dependencies:
libmysqlclient.so.10 is needed by (installed) libdbi-dbd-mysql-0.6.5-5
libmysqlclient.so.10 is needed by (installed) mod_auth_mysql-1.11-12
libmysqlclient.so.10 is needed by (installed) MySQL-python-0.9.1-6
libmysqlclient.so.10 is needed by (installed) mysql-server-3.23.54a-11
libmysqlclient.so.10 is needed by (installed) perl-DBD-MySQL-2.1021-3
libmysqlclient.so.10 is needed by (installed) php-mysql-4.2.2-17
libmysqlclient.so.10 is needed by (installed) qt-MySQL-3.1.1-6
libmysqlclient.so.10 is needed by (installed) MyODBC-2.50.39-11
mysql = 3.23.54a is needed by (installed) mysql-devel-3.23.54a-11
mysql is needed by (installed) MySQL-python-0.9.1-6
mysql = 3.23.54a is needed by (installed) mysql-server-3.23.54a-11

于是我又强制卸载rpm -e -nodeps mysql
之后就是没啥反应了,一直等着,没耐心,就ctrl+z,又rpm -q mysql查了一下,还在,我该怎么办??
发表于 2006-9-22 21:25:30 | 显示全部楼层
看某高人的一段文章中提到过:
#rpm -qa | grep mysql
似乎是查看相关软件包的意思,会列出几个文件。
#rpm -e XXXXXXX
在上面的列表中,从最下面的开始卸载。倒序。
回复 支持 反对

使用道具 举报

发表于 2006-9-23 09:22:01 | 显示全部楼层
可以加参数,禁止依赖关系,然后一个个卸掉
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表