https://bugzilla.novell.com/show_bug.cgi?id=272390 Summary: Uninstall fails due to error in RPM-Macro Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: axel.braun@gmx.de QAContact: qa@suse.de I'm trying to build up-to-date SuSE packages for hylafax. Up to now I was using a generig script in the %preun section: %preun if [ $1 = 0 ] ; then if [ -x /usr/lib/lsb/remove_initd ]; then /usr/lib/lsb/install_initd %{initdir}/hylafax elif [ -x /sbin/chkconfig ]; then /sbin/chkconfig --del hylafax else rm -f /etc/rc.d/rc?.d/???hylafax fi /sbin/service hylafax stop >/dev/null 2>&1 || : fi That allowed an uninstall of the package. If I replace the section with %{stop_on_removal hylafax} the following occurs: z60m:/usr/src/packages # rpm -e hylafax-5.1.2 hylafax 0:off 1:off 2:off 3:off 4:off 5:off 6:off FIFO: open: No such device or address error: %preun(hylafax-5.1.2-1suse102.i586) scriptlet failed, exit status 1 This is due to the fact that the package is installed, but not configured or running (the check on the FIFO). Has the stop_on_removal to be used in a different way, or is it not 'compliant' with hylafax? Thanks Axel -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.