[Pkg-nagios-devel] Bug#444620: nagios-common: use adduser in preinst without Pre-Depends: adduser

Gregory Colpart reg at evolix.fr
Sat Sep 29 20:47:18 UTC 2007


Package: nagios-common
Version: Version: 2:1.4-3.1
Severity: important

[Debian BSP, September 29/30th]

Hello,

nagios-common.preinst uses adduser but there is no Pre-Depends:
field for adduser package:

---8<---
  Selecting previously deselected package nagios-common.
  (Reading database ... 5033 files and directories currently installed.)
  Unpacking nagios-common (from .../nagios-common_1.4-3.2_all.deb) ...
  /var/lib/dpkg/tmp.ci/preinst: line 23: adduser: command not found
  dpkg: error processing tmp/nagios-common_1.4-3.2_all.deb (--install):
   subprocess pre-installation script returned error exit status 127
  dpkg: error while cleaning up:
   subprocess post-removal script returned error exit status 10
  Errors were encountered while processing:
   tmp/nagios-common_1.4-3.2_all.deb
---8<---

There are two solutions:
- move adduser to postinst if it's possible (I see no reason but I can
  make a mistake)
- else add 'Pre-Depends: adduser'


Regards,
-- 
Gregory Colpart <reg at evolix.fr>  GnuPG:1024D/C1027A0E
Evolix - Informatique et Logiciels Libres http://www.evolix.fr/





More information about the Pkg-nagios-devel mailing list