[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug in pnp4nagios-web/squeeze-backports package (0.6.12-1~bpo60+1)



Dear list,

The package pnp4nagios-web doesn't require apache, so I tried configuring it for nginx (after installing the php5 package, satisfying the dependency).

(Depends: libapache2-mod-php5 | php5, php5-gd, libkohana2-php, libfpdi-php, libjs-jquery, libjs-jquery-ui, rrdtool, adduser, debconf (>= 0.5) | debconf-2.0)

However, in the script that runs after the package is installed, it tries to call a2enmod (which is apache only). I would suggest to only run a2enmod if that binary is really there.

The following partially installed packages will be configured:
  pnp4nagios-web
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up pnp4nagios-web (0.6.12-1~bpo60+1) ...
/var/lib/dpkg/info/pnp4nagios-web.postinst: 91: a2enmod: not found
dpkg: error processing pnp4nagios-web (--configure):
subprocess installed post-installation script returned error exit status 127
configured to not write apport reports
Errors were encountered while processing:
 pnp4nagios-web
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up pnp4nagios-web (0.6.12-1~bpo60+1) ...
/var/lib/dpkg/info/pnp4nagios-web.postinst: 91: a2enmod: not found
dpkg: error processing pnp4nagios-web (--configure):
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 pnp4nagios-web

Thanks in advance,

Wouter


Reply to: