[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#418536: apache2 can't be removed if stoppped



Package: apache2.2-common
Version: 2.2.3-4


Trying to remove apache2-mpm-worker with the server stopped does not work:

Desinstalando apache2-mpm-worker ...
Stopping web server (apache2)... failed!
invoke-rc.d: initscript apache2, action "stop" failed.
dpkg: error al procesar apache2-mpm-worker (--remove):
 el subproceso pre-removal script devolvió el código de salida de error 1
Se encontraron errores al procesar:
 apache2-mpm-worker
E: Sub-process /usr/bin/dpkg returned an error code (1)

That forced me to start the server, because I needed it removed anyway.

Solutions: either allow /etc/init.d/apache2 (package apache2.2-common) to success if there is no apache2 process to stop, or modify pre-removal script (package apache2-mpm-worker) to work if server is not running. I think the last would must be done in more packages, like the prefork one.

BTW, congratulations for etch's release :)

Noel Torres
er Envite



Reply to: