[Pkg-nagios-devel] Bug#283355: marked as done (nagios-common: Unnecessary failure of postrm script)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 05 Dec 2004 20:03:08 -0800

Your message dated Sun, 05 Dec 2004 22:47:11 -0500
with message-id <E1Cb9qB-0005xP-00@newraff.debian.org>
and subject line Bug#283355: fixed in nagios 2:1.3-0+pre5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 28 Nov 2004 12:48:45 +0000
>From olaf@xwis.net Sun Nov 28 04:48:44 2004
Return-path: <olaf@xwis.net>
Received: from smtp2.cistron.nl [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CYOTs-0005Dn-00; Sun, 28 Nov 2004 04:48:44 -0800
Received: from cust.18.38.adsl.cistron.nl ([] helo=localhost)
	by smtp2.cistron.nl with esmtp (Exim 3.35 #1 (Debian))
	id 1CYOTq-0007Lc-00; Sun, 28 Nov 2004 13:48:43 +0100
Received: from olaf by localhost with local (Exim 4.34)
	id 1CY6Vh-0001xM-5j; Sat, 27 Nov 2004 18:37:25 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Olaf van der Spek <OvdSpek@LIACS.NL>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nagios-common: Unnecessary failure of postrm script
X-Mailer: reportbug 3.2
Date: Sat, 27 Nov 2004 18:37:25 +0100
Message-Id: <E1CY6Vh-0001xM-5j@localhost>
Sender: Olaf van der Spek <olaf@xwis.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.3 required=4.0 tests=BAYES_00,DATE_IN_PAST_12_24,
	HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25

Package: nagios-common
Version: 2:1.3-0+pre4
Severity: normal


I install nagios-mysql and chose Apache (although I only have Apache 2).
The install failed, and now the remove fails too:
# apt-get remove nagios-mysql --purge
Reading Package Lists... Done
Building Dependency Tree... Done
Package nagios-mysql is not installed, so not removed
The following packages will be REMOVED:
  0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 0B of archives.
  After unpacking 3002kB disk space will be freed.
  Do you want to continue? [Y/n] 
  (Reading database ... 29338 files and directories currently installed.)
  Removing nagios-common ...
  rm: cannot remove `/etc/apache/conf.d/nagios': No such file or directory
  dpkg: error processing nagios-common (--remove):
   subprocess post-removal script returned error exit status 1
   Errors were encountered while processing:
    E: Sub-process /usr/bin/dpkg returned an error code (1)
Shouldn't the rm failure be considered 'succes' if the directory is gone already?

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nagios-common depends on:
ii  adduser                       3.59       Add and remove users and groups
ii  apache2-mpm-prefork [httpd]   2.0.52-3   Traditional model for Apache2
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  debconf [debconf-2.0]         1.4.40     Debian configuration management sy
ii  mailutils [mailx]             1:0.5-4    GNU mailutils utilities for handli
pn  nagios                                   Not found.
ii  nagios-plugins       Plugins for the nagios network mon

-- debconf information:
* nagios/wwwsuid: true
* nagios/configapache: Apache

Received: (at 283355-close) by bugs.debian.org; 6 Dec 2004 03:48:43 +0000
>From katie@ftp-master.debian.org Sun Dec 05 19:48:43 2004
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cb9re-00076c-00; Sun, 05 Dec 2004 19:48:43 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1Cb9qB-0005xP-00; Sun, 05 Dec 2004 22:47:11 -0500
From: Sean Finney <seanius@debian.org>
To: 283355-close@bugs.debian.org
X-Katie: $Revision: 1.54 $
Subject: Bug#283355: fixed in nagios 2:1.3-0+pre5
Message-Id: <E1Cb9qB-0005xP-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 05 Dec 2004 22:47:11 -0500
Delivered-To: 283355-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-CrossAssassin-Score: 4

Source: nagios
Source-Version: 2:1.3-0+pre5

We believe that the bug you reported is fixed in the latest version of
nagios, which is due to be installed in the Debian FTP archive:

  to pool/main/n/nagios/nagios-common_1.3-0+pre5_all.deb
  to pool/main/n/nagios/nagios-mysql_1.3-0+pre5_i386.deb
  to pool/main/n/nagios/nagios-pgsql_1.3-0+pre5_i386.deb
  to pool/main/n/nagios/nagios-text_1.3-0+pre5_i386.deb
  to pool/main/n/nagios/nagios_1.3-0+pre5.diff.gz
  to pool/main/n/nagios/nagios_1.3-0+pre5.dsc

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 283355@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Sean Finney <seanius@debian.org> (supplier of updated nagios package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Thu, 02 Dec 2004 12:05:10 -0500
Source: nagios
Binary: nagios-pgsql nagios-text nagios-mysql nagios-common
Architecture: source i386 all
Version: 2:1.3-0+pre5
Distribution: unstable
Urgency: low
Maintainer: Debian Nagios Maintainer Group <pkg-nagios-devel@lists.alioth.debian.org>
Changed-By: Sean Finney <seanius@debian.org>
 nagios-common - A host/service/network monitoring and management system
 nagios-mysql - A host/service/network monitoring and management system
 nagios-pgsql - A host/service/network monitoring and management system
 nagios-text - A host/service/network monitoring and management system
Closes: 269221 282591 282791 283355 283870 283875
 nagios (2:1.3-0+pre5) unstable; urgency=low
   * Sean Finney:
     - nagios packages no longer put a copy of the nagios binary in the
       cgi-bin directory (closes: #269221).
     - corrected path to printf in code and documentation.  thanks to
       peter hicks <peter.hicks@poggs.co.uk> (Closes: #282591).
     - corrected nsca related paths in code and documentation.  thanks
       again to peter (Closes: #282791).
     - other misc path fixes in html path-fixing patch.  there's probably
       still more, but got a bunch of them.
     - fix for error value of config file removal in nagios-common
       (Closes: #283355).  thanks to Olaf van der Spek <OvdSpek@LIACS.NL>.
     - everything in hosts.cfg was duplicated because of a bug in the
       postinst for nagios-common.  fixed.  thanks again to Olaf.
       (Closes: #283870).
     - init script has a better check for running nagios processes.  really,
       we should be use start-stop-daemon, but this will work for
       the time being.  thanks again, Olaf.  (Closes: #283875)
     - removed the "-e 5" from the check_started part of the init script,
       as it was preventing some users from restarting (see #283875).
       thanks to tony mancill <tony@mancill.com>.
 29185546a529de2965945ddab6d6cf7e 992 net optional nagios_1.3-0+pre5.dsc
 64b7f9579ec891b927e395e8d7ce2542 77902 net optional nagios_1.3-0+pre5.diff.gz
 d8651baf3564586ade346d4b0f45fd5c 901446 net optional nagios-text_1.3-0+pre5_i386.deb
 28396a53c794750973ef152c4e116c2e 916440 net optional nagios-mysql_1.3-0+pre5_i386.deb
 3fe73f52ba8467607dfe2b655929db56 926692 net optional nagios-pgsql_1.3-0+pre5_i386.deb
 d7a00c4cf393bfdb48abbbbdd0537669 1212802 net optional nagios-common_1.3-0+pre5_all.deb

Version: GnuPG v1.2.4 (GNU/Linux)