[Pkg-nagios-devel] Bug#514168: nagios3-common: Syntax error in prerm prevents removal of package

Jonathan Hall jonh at nmgi.com
Wed Feb 4 21:12:10 UTC 2009


Package: nagios3-common
Version: 3.0.6-2
Severity: important

A syntax error in nagios3-common's prerm prevents removal of the package. 
The fix is simple:

--- nagios3-3.0.6/debian/nagios3-common.prerm 2009-02-04 15:08:48.000000000 -0600
+++ nagios3-3.0.6/debian/nagios3-common.prerm 2009-02-04 15:08:28.000000000 -0600
@@ -4,7 +4,7 @@

 apacheconf="/etc/nagios3/apache2.conf"

-if [ -f $apacheconf ]
+if [ -f $apacheconf ]; then
   case "$1" in
     remove)
        # find the configured servers

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios3-common depends on:
ii  adduser            3.110                 add and remove users and groups
ii  apache2-utils      2.2.9-10+lenny2       utility programs for webservers
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-3 A simple mail user agent
ii  cdebconf [debconf- 0.138lenny2           Debian Configuration Management Sy
ii  coreutils          6.10-6                The GNU core utilities
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  lsb-base           3.2-20                Linux Standard Base 3.2 init scrip
ii  mailx              1:20071201-3          Transitional package for mailx ren
ii  nagios-plugins-bas 1.4.12-4              Plugins for the nagios network mon
ii  nagios3-doc        3.0.6-2               documentation for nagios3
ii  ucf                3.0011                Update Configuration File: preserv

Versions of packages nagios3-common recommends:
ii  apache2                  2.2.9-10+lenny2 Apache HTTP Server metapackage
ii  apache2-mpm-worker [http 2.2.9-10+lenny2 Apache HTTP Server - high speed th
ii  nagios-images            0.4             Collection of images and icons for
ii  nagios-plugins           1.4.12-4        Plugins for the nagios network mon

nagios3-common suggests no packages.

-- debconf information:
  nagios3/httpd: apache2
  nagios3/adminpassword-mismatch:
  nagios3/nagios1-in-apacheconf: false





More information about the Pkg-nagios-devel mailing list