Package: otrs2 Version: 2.0.4p01-17 Severity: important Tags: patch Hi,
# dpkg -P otrs2 (Reading database ... 286458 files and directories currently installed.) Removing otrs2 ... Purging configuration files for otrs2 ... Removing user `otrs' ... Done. invoke-rc.d: unknown initscript, /etc/init.d/apache2 not found. dpkg: error processing otrs2 (--purge): subprocess post-removal script returned error exit status 100 Errors were encountered while processing: otrs2 # ls /etc/init.d/apache2 ls: /etc/init.d/apache2: No such file or directory diff -u otrs2-2.1.4/debian/postrm otrs2-2.1.4/debian/postrm --- otrs2-2.1.4/debian/postrm +++ otrs2-2.1.4/debian/postrm @@ -40,5 +40,9 @@ if [ "$1" = purge ]; then db_stop - invoke-rc.d apache2 reload + + # check to avoid error if apache2 is not installed + if [ -f /etc/init.d/apache2 ]; then + invoke-rc.d apache2 reload + fi fi Regards, Gonéri
pgptzSfJhlUDM.pgp
Description: PGP signature