[Pkg-nagios-devel] Removing problem

E. Erdem e2erdem at gmail.com
Tue Apr 28 13:22:02 UTC 2009

I've installed nagios3 from official archive. When I tried to remove
the package dpkg returned with this error:
Removing nagios3-common ...
/var/lib/dpkg/info/nagios3-common.prerm: line 23: syntax error near
unexpected token `fi'
dpkg: error processing nagios3-common (--remove):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:

After changing this line "if [ -f $apacheconf ]" to this "if [ -f
$apacheconf ]; then" package was removed.

Kind regards,

More information about the Pkg-nagios-devel mailing list