[Pkg-nagios-devel] Bug#469182: bug in nagios3-common postinst

Max Kosmach max at tcen.ru
Mon Mar 3 17:07:11 UTC 2008


Package: nagios3-common
Version: 3.0~rc2-1-1
Severity: normal

Wrong usage of htpasswd in nagios3-common.postinst:

------
dpkg --configure -a
Setting up nagios3-common (3.0~rc2-1-1) ...
Reloading web server config: apache2.
Usage: htpasswd [-c] passwordfile username
The -c flag creates a new file.
dpkg: error processing nagios3-common (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nagios3:
 nagios3 depends on nagios3-common (= 3.0~rc2-1-1); however:
  Package nagios3-common is not configured yet.
dpkg: error processing nagios3 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nagios3-common
 nagios3
------

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios3-common depends on:
ii  adduser            3.106                 add and remove users and groups
ii  apache2-utils      2.2.8-1               utility programs for webservers
ii  bsd-mailx [mailx]  8.1.2-0.20071201cvs-2 A simple mail user agent
ii  coreutils          6.10-3                The GNU core utilities
ii  debconf [debconf-2 1.5.19                Debian configuration management sy
ii  lsb-base           3.2-2                 Linux Standard Base 3.2 init scrip
ii  mailx              1:20071201-2          Transitional package for mailx ren
ii  nagios-plugins-bas 1.4.11-1              Plugins for the nagios network mon
ii  nagios3-doc        3.0~rc2-1-1           documentation for nagios3
ii  ucf                3.005                 Update Configuration File: preserv

Versions of packages nagios3-common recommends:
ii  apache2                       2.2.8-1    Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd]   2.2.8-1    Traditional model for Apache HTTPD
ii  lighttpd [httpd]              1.4.18-1   A fast webserver with minimal memo
ii  mini-httpd [httpd]            1.19-7     a small HTTP server
ii  nagios-images                 0.3        Collection of images and icons for
ii  nagios-plugins                1.4.11-1   Plugins for the nagios network mon
ii  nginx [httpd]                 0.5.35-2   small, but very powerful and effic

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





More information about the Pkg-nagios-devel mailing list