[Pkg-nagios-devel] Bug#514168: Bug#514168: nagios3-common: Yet another remove bug

Alexander Wirt formorer at debian.org
Thu Apr 2 07:19:04 UTC 2009


Vlado Peshov schrieb am Wednesday, den 01. April 2009:

> Package: nagios3-common
> Version: 3.0.6-3
> 
> I tried to remove this package and this error occurred:
> 
> # apt-get remove -f nagios3-common
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
>  nagios3-common
> 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
> After this operation, 459kB disk space will be freed.
> Do you want to continue [Y/n]? y
> (Reading database ... 38205 files and directories currently installed.)
> 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:
>  nagios3-common
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> I have looked in the script nagios3-common and I noticed that ";" is
> missing on line 7. Line 7 was:
> 
> if [ -f $apacheconf ] then
> 
> and I have corrected:
> 
> if [ -f $apacheconf ]; then
> 
> After this I successfully removed the package.
Its not yet, its still the same as in all other remove bugs. Its already
fixed in -4 

Alex
-- 
Alexander Wirt, formorer at formorer.de 
CC99 2DDD D39E 75B0 B0AA  B25C D35B BC99 BC7D 020A





More information about the Pkg-nagios-devel mailing list