[root@zabbix mysql]# rpm -e mysql-5.1.66-2.el6_3.x86_64
error: Failed dependencies:
 mysql = 5.1.66-2.el6_3 is needed by (installed) mysql-server-5.1.66-2.el6_3.x86_64

root@zabbix mysql]# rpm -qa | grep -i mysql
mysql-libs-5.1.66-2.el6_3.x86_64
qt-mysql-4.6.2-25.el6.x86_64
mysql-server-5.1.66-2.el6_3.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
mysql-5.1.66-2.el6_3.x86_64
[root@zabbix mysql]# rpm -e  mysql-server-5.1.66-2.el6_3.x86_64
error: Failed dependencies:
 mysql-server is needed by (installed) akonadi-1.2.1-2.el6.x86_64
[root@zabbix mysql]# rpm -e akonadi-1.2.1-2.el6.x86_64
error: Failed dependencies:
 libakonadiprotocolinternals.so.1()(64bit) is needed by (installed) kdepimlibs-akonadi-4.3.4-4.el6.x86_64
 libakonadiprotocolinternals.so.1()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libakonadiprotocolinternals.so.1()(64bit) is needed by (installed) kdepim-runtime-libs-4.3.4-5.el6.x86_64
 akonadi(x86-64) >= 1.2.0 is needed by (installed) kdepimlibs-akonadi-4.3.4-4.el6.x86_64
 akonadi(x86-64) >= 1.2.1 is needed by (installed) kdepim-runtime-libs-4.3.4-5.el6.x86_64
[root@zabbix mysql]# rpm -e kdepim-runtime-libs-4.3.4-5.el6.x86_64
error: Failed dependencies:
 libakonadi-kabccommon.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libakonadi-kcal.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libakonadi-xml.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libkdepim-copy.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libmaildir.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 kdepim-runtime-libs = 4.3.4-5.el6 is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
[root@zabbix mysql]# rpm -e kdepim-runtime-4.3.4-5.el6.x86_64
error: Failed dependencies:
 kdepim-runtime = 4.3.4-5.el6 is needed by (installed) kdepim-runtime-libs-4.3.4-5.el6.x86_64
[root@zabbix mysql]# rpm -e  kdepim-runtime-libs-4.3.4-5.el6.x86_64
error: Failed dependencies:
 libakonadi-kabccommon.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libakonadi-kcal.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libakonadi-xml.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libkdepim-copy.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libmaildir.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 kdepim-runtime-libs = 4.3.4-5.el6 is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
[root@zabbix mysql]# rpm -e kdepimlibs-akonadi-4.3.4-4.el6.x86_64
error: Failed dependencies:
 libakonadi-kabc.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libakonadi-kde.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
 libakonadi-kde.so.4()(64bit) is needed by (installed) kdepim-runtime-libs-4.3.4-5.el6.x86_64
 libakonadi-kde.so.4()(64bit) is needed by (installed) kdepim-6:4.3.4-6.el6.x86_64
 libakonadi-kmime.so.4()(64bit) is needed by (installed) kdepim-runtime-4.3.4-5.el6.x86_64
[root@zabbix mysql]# rpm -e kdepim-6:4.3.4-6.el6.x86_64
error: package kdepim-6:4.3.4-6.el6.x86_64 is not installed
解决办法:
使用rpm -ev --nodeps *  

[root@zabbix mysql]# rpm -ev --nodeps mysql-5.1.66-2.el6_3.x86_64
[root@zabbix mysql]# rpm -qa | grep -i mysql
mysql-libs-5.1.66-2.el6_3.x86_64
qt-mysql-4.6.2-25.el6.x86_64
mysql-server-5.1.66-2.el6_3.x86_64
perl-DBD-MySQL-4.013-3.el6.x86_64
[root@zabbix mysql]# rpm -ev --nodeps perl-DBD-MySQL-4.013-3.el6.x86_64
[root@zabbix mysql]#
[root@zabbix mysql]# rpm -ev --nodeps qt-mysql-4.6.2-25.el6.x86_64
[root@zabbix mysql]# rpm -ev --nodeps mysql-server-5.1.66-2.el6_3.x86_64
[root@zabbix mysql]# rpm -qa | grep -i mysql
mysql-libs-5.1.66-2.el6_3.x86_64