[pkg-lighttpd] Bug#359792: cannot upgrade or remove if lighttpd server not started

Krzysztof Krzyzaniak eloy at kofeina.net
Wed Mar 29 10:42:39 UTC 2006


Jonathan Ballet wrote:
> Package: lighttpd
> Version: 1.4.11-3
> Severity: important
> 
> Hello,
> 
> I noticed that the 'stop' command on lighttpd service fails if lighttpd
> is not started, which causes the pre-removal script to exit with an
> error code of 1.
> In this case, dpkg stop the removal of the package.
> Very easy to reproduce.

Right. Simple solution is changing "exit 1" to "exit 0" everywhere in
init.d script but I have to check what policy says about that.


  eloy
-- 
-------e-l-o-y---------------------------e-l-o-y- at -k-o-f-e-i-n-a-.-n-e-t------

       jak to dobrze, że są oceany - bez nich byłoby jeszcze smutniej



More information about the pkg-lighttpd-maintainers mailing list