[Pkg-nagios-devel] Bug#283778: nagios-common: Upgrade fails because Nagiosadmin already exists

Olivier Berger Olivier Berger <olivier.berger@int-evry.fr>, 283778@bugs.debian.org
Wed, 01 Dec 2004 11:16:11 +0100


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


Upgrade of nagios in testing seems to be broken :

Setting up nagios-common (1.3-0+pre4) ...
Reloading apache-ssl configuration.
Nagiosadmin already existing with password. To change the
password, please use the /usr/bin/htpasswd command.
Reloading nagios configuration files.
dpkg: error processing nagios-common (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 nagios-common

installation script returned error exit status 100.
Press <enter> to continue.

I had to purge the nagios packages first, then remove manually the
/etc/nagios/htpasswd.users file, then reinstall again.

There are errors when reinstalling, but not any which would block the
installation process... so I hope I can restore the configuration
somehow.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
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  apache [httpd]   1.3.33-2                Versatile, high-performance HTTP s
ii  apache-ssl [http 1.3.33-2                Versatile, high-performance HTTP s
ii  coreutils [fileu 5.2.1-2                 The GNU core utilities
ii  debconf [debconf 1.4.30.10               Debian configuration management sy
ii  fileutils        5.2.1-2                 The GNU file management utilities 
ii  mailx            1:8.1.2-0.20040524cvs-1 A simple mail user agent
ii  nagios-plugins   1.3.1.0-12              Plugins for the nagios network mon
ii  nagios-text [nag 2:1.3-0+pre4            A host/service/network monitoring 

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