I'm running 7.04 Feisty Fawn and just had the same problem. Tried to apt-get remove lighttpd, but the prerem script tries to stop the service, and the service is not running, so the remove fails. Since I have a different web service running already, it would be somewhat difficult to get lighttpd started.
I had to follow the instructions at http://www.urbanpuddle.com/articles/2007/05/05/fixing-lighttpd-update- problem-on-ubuntu which are: Go to /var/lib/dpkg/info directory and edit the lighttpd.prerm file. What you want to do is comment out everything except the set -e. Quite frustrating, especially for something that supposedly was fixed earlier. -- remove lighttpd https://bugs.launchpad.net/bugs/46200 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs