[Pkg-nagios-devel] Problem with Nagios3 Package

James House poenitentia.tranquilitas at gmail.com
Sun Apr 5 00:55:10 UTC 2009

I'm running amd64 Lenny with only the standard repos.
I got this error when trying to remove the nagios3 package:
 **  /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:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I decided to investigate and found a broken 'if' statement in
/var/lib/dpkg/info/nagios3-common.prerm. I fixed the if statement and it
removed properly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20090404/bb59a437/attachment.htm>

More information about the Pkg-nagios-devel mailing list