LinuxSir.cn,穿越时空的Linuxsir!

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

How to uninstall The MySQL?

[复制链接]
发表于 2004-11-3 14:33:49 | 显示全部楼层 |阅读模式
My OS is RedHat 9.
I had install the whole system RPM when install the Linux-OS.
But now I want to uninstall the MySQL and PHP.But it seems not seccess?
Just like this:
////////////////////////////////////////////////////////////////////////////////////////begin:
[root@Darklight darklight]# rpm -e php
error: Failed dependencies:
        php = 4.2.2-17 is needed by (installed) php-imap-4.2.2-17
        php = 4.2.2-17 is needed by (installed) php-ldap-4.2.2-17
        php = 4.2.2-17 is needed by (installed) php-manual-4.2.2-17
        php = 4.2.2-17 is needed by (installed) php-mysql-4.2.2-17
        php = 4.2.2-17 is needed by (installed) php-snmp-4.2.2-17
        php = 4.2.2-17 is needed by (installed) php-pgsql-4.2.2-17
        php >= 4.0.4 is needed by (installed) squirrelmail-1.2.10-4
        php = 4.2.2-17 is needed by (installed) php-odbc-4.2.2-17
        php >= 4.2.2-10 is needed by (installed) wordtrans-web-1.1pre12-7
[root@Darklight darklight]# rpm -q mysql
mysql-3.23.54a-11
[root@Darklight darklight]# 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
///////////////////////////////////////////////////////////////////end

Anyone who can tell me what is the problem?
Thank you .
发表于 2004-11-12 16:20:52 | 显示全部楼层
应该要把它的全名写上去.包括后面的版本后.
发表于 2004-11-12 20:48:52 | 显示全部楼层
用这个rpm -e php -nodeps
发表于 2004-11-24 13:32:50 | 显示全部楼层
rpm -e php --nodeps
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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