[Pkg-nagios-devel] Bug#538894: nagios-nrpe-server PREINST script fails with LDAP

Jan Wynholds jwynholds at 510systems.com
Mon Jul 27 18:54:10 UTC 2009


Package: nagios-nrpe-server
Version: 2.5.1-3

When I try to install the nagios-nrpe-server via 'apt-get' the preinst
script errors and does not install the package.  We are running LDAP,
so nagios user is added but does not show up in /etc/passwd.

biscuit:~# apt-get install nagios-nrpe-server
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed:
  nagios-nrpe-server
0 upgraded, 1 newly installed, 0 to remove and 40 not upgraded.
Need to get 0B/34.4kB of archives.
After unpacking 172kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  nagios-nrpe-server
Install these packages without verification [y/N]? y
(Reading database ... 63624 files and directories currently installed.)
Unpacking nagios-nrpe-server (from .../nagios-nrpe-server_2.5.1-3_amd64.deb) ...
addgroup: The group `nagios' already exists as a system group. Exiting.
usermod: nagios not found in /etc/passwd
dpkg: error processing
/var/cache/apt/archives/nagios-nrpe-server_2.5.1-3_amd64.deb
(--unpack):
 subprocess pre-installation script returned error exit status 6
Errors were encountered while processing:
 /var/cache/apt/archives/nagios-nrpe-server_2.5.1-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

We are using:

2.6.20-2-macpro-amd64 #1 SMP Sun Jul 29 11:30:30 EDT 2007 x86_64 GNU/Linux

I hope I have provided enough information to fix in the correct manner
following correct protocols.  If not I apologize.

--best

jan





More information about the Pkg-nagios-devel mailing list