yum --setopt=tsflags=noscripts remove 参考https://serverfault.com/questions/613256/yum-error-in-preun-scriptlet-when-removing-packageshttp://techmesrv.weebly.com/yum-errors/yum-package-removal-error-error-in-preun-scriptlet-in-rpm-package