Description of problem: I installed pure-ftpd and pure-ftpd-selinux on my desktop machine temporarily in order to diagnose an FTP-related problem we were having in our internal company network. When I tried to uninstall, I got this: # rpm -e pure-ftpd pure-ftpd-selinux warning: /etc/pure-ftpd/pure-ftpd.conf saved as /etc/pure-ftpd/pure-ftpd.conf.rpmsave pure-ftpd not found error: %preun(pure-ftpd-selinux-1.0.29-1.fc12.x86_64) scriptlet failed, exit status 1 and now pure-ftpd is uninstalled, but pure-ftpd-selinux is not. In the spec file, I see this: %preun selinux if [ "$1" -lt "1" ]; then # Final removal semodule -r pureftpd 2>/dev/null || : fixfiles -R pure-ftpd restore /sbin/service pure-ftpd condrestart > /dev/null 2>&1 fi The "service" line fails if the main package has already been uninstalled. This line should either be allowed to fail, or else the dependency of that script on the main package should be made explicit. Version-Release number of selected component (if applicable): pure-ftpd-1.0.29-1.fc12.x86_64 How reproducible: Always Steps to Reproduce: 1. yum install pure-ftpd pure-ftpd-selinux 2. rpm -e pure-ftpd pure-ftpd-selinux Actual results: The uninstallation fails while processing the %preun script of pure-ftpd-selinux. Expected results: Complete uninstallation. Additional info:
Thanks for reporting this ! I've fixed the bug in CVS, the update is building right now.
pure-ftpd-1.0.29-2.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/pure-ftpd-1.0.29-2.fc12
pure-ftpd-1.0.29-2.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
pure-ftpd-1.0.29-1.el5.1 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/pure-ftpd-1.0.29-1.el5.1
pure-ftpd-1.0.29-1.el5.1 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.