yum groupinstall "DNS Name Server"
yum groupinstall "Web Server"
yum groupinstall "Mail Server"
yum groupinstall "MySQL Database"
yum groupinstall "Development Tools"
yum groupinstall "GNOME Desktop Environment"
yum groupinstall "X Window System"
yum groupinstall "KDE (K Desktop Environment)"
yum groupremove
rpm -e *
"error: %preun(*) scriptlet failed, exit status 1"
解决方法为加 --noscripts 标记来删除RPM。 --noscripts 相当于 --nopre --nopost --nopreun --nopostun。