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

Glenn English ghe at slsware.com
Sat Feb 21 16:56:21 UTC 2009


Package: nagios3-common
Version: 3.0.6-3
Followup-For: Bug #514168

I'm trying to get nagios3 going. In the process of upgrading to 3 and moving from another machine, I needed to remove and start over:

root at log:~# apt-get remove 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 0 not upgraded.
After this operation, 459kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 47162 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)

It's just a bent shell script...

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
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  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
pn  nagios-plugins-bas <none>                (no description available)
pn  nagios3-doc        <none>                (no description available)
ii  ucf                3.0016                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
pn  nagios-images            <none>          (no description available)
pn  nagios-plugins           <none>          (no description available)

nagios3-common suggests no packages.

-- debconf information:
  nagios3/adminpassword-repeat: (password omitted)
  nagios3/adminpassword: (password omitted)
  nagios3/adminpassword-mismatch:
  nagios3/nagios1-in-apacheconf: false
  nagios3/httpd: apache2





More information about the Pkg-nagios-devel mailing list