On Mon, Aug 28, 2006 at 08:40:14PM +0200, Bastian Kleineidam wrote: > 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.
> --- 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) This is still a policy violation; maintainer scripts aren't supposed to invoke init.d scripts directly, they should use invoke-rc.d. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]