Package: thttpd
Version: 2.23beta1-4
Severity: serious
Tags: patch
Justification: Policy 6.1 - maintainer scripts
Hi,
if the thttpd daemon is not running, the prerm script fails, since
"/etc/init.d/thttpd stop" fails to exit with a zero status.
This prevents the package from uninstall. Attached is a patch
the ignores stop errors.
Regards,
Bastian
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-treasure7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
--- prerm_old 2006-08-28 20:33:54.087259208 +0200
+++ prerm 2006-08-28 20:33:39.154529328 +0200
@@ -7,7 +7,7 @@
#
# Stop the daemon
#
- /etc/init.d/thttpd stop
+ /etc/init.d/thttpd stop || true
[ -L /usr/doc/thttpd ] && rm -f /usr/doc/thttpd
;;
failed-upgrade)