[root@localhost ~]# rpm -qa|grep mysql
php-mysql-5.1.6-27.el5
mysql-5.0.77-4.el5_5.3
perl-DBD-mysql-4.014-1.el5.rf
mysql-server-5.0.77-4.el5_5.3
[root@localhost ~]# rpm -e –nodeps php-mysql-5.1.6-27.el5
error: package –nodeps is not installed
[root@localhost ~]# rpm -e –nodeps mysql-5.0.77-4.el5_5.3
error: package –nodeps is not installed
[root@localhost ~]# rpm -e –perl-DBD-mysql-4.014-1.el5.rf
error: package –perl-DBD-mysql-4.014-1.el5.rf is not installed
利用網(wǎng)絡(luò)上提供的方法 有這個(gè)提示 管理員有空的話 麻煩您回復(fù)下 謝謝
歡迎轉(zhuǎn)載,但請(qǐng)保留此信息
rpm -e --nodeps
今天測(cè)試了下,不應(yīng)該用--force了這個(gè)只是安裝時(shí)用
而是用 --nodeps,如
rpm -e --nodeps php-mysql-5.1.6-27.el5
nodeps里是兩個(gè)橫線的