Package: nut
Version: 2.7.2-3
Severity: important

Dear Maintainer,

When installing nut, nut-server, nut-ipmi, nut-snmp I get the following errors. 
 The problem seems to be that there is an
install time check to see if the nut services start, but the servies are set to 
not start by default, until
the user has a chance to set it up and choose what mode it will run in.  That 
check should soft fail and allow the install
to continue.

Error messages:
root@egdb1:/etc/network# apt-get install nut
Reading package lists... Done
Building dependency tree
Reading state information... Done
nut is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up nut-server (2.7.2-3) ...
A dependency job for nut-server.service failed. See 'journalctl -xn' for 
details.
invoke-rc.d: initscript nut-server, action "start" failed.
dpkg: error processing package nut-server (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of nut:
 nut depends on nut-server; however:
  Package nut-server is not configured yet.

dpkg: error processing package nut (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nut-ipmi:
 nut-ipmi depends on nut (>= 1.4.1-pre1); however:
  Package nut is not configured yet.

dpkg: error processing package nut-ipmi (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nut-snmp:
 nut-snmp depends on nut (>= 1.4.1-pre1); however:
  Package nut is not configured yet.

dpkg: error processing package nut-snmp (--configure):
 dependency problems - leaving unconfigured
E: Sub-process /usr/bin/dpkg returned an error code (1)

journalctl -xn shows
Mar 18 16:20:37 egdb1 upsdrvctl[21555]: Error: no UPS definitions found in 
ups.conf
Mar 18 16:20:37 egdb1 upsdrvctl[21555]: Network UPS Tools - UPS driver 
controller 2.7.2
Mar 18 16:20:37 egdb1 systemd[1]: nut-driver.service: control process exited, 
code=exited status=1
Mar 18 16:20:37 egdb1 systemd[1]: Failed to start Network UPS Tools - power 
device driver controller.
-- Subject: Unit nut-driver.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nut-driver.service has failed.
--
-- The result is failed.
Mar 18 16:20:37 egdb1 systemd[1]: Dependency failed for Network UPS Tools - 
power devices information server.
-- Subject: Unit nut-server.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nut-server.service has failed.
--
-- The result is dependency.
Mar 18 16:20:37 egdb1 systemd[1]: Unit nut-driver.service entered failed state.


I tried to do some basic config, but it seems like it has to be fully 
configured to finish the install
which I'm not ready to do yet.

-- System Information:
Debian Release: 8.0
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/24 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages nut depends on:
ii  nut-client  2.7.2-3
ih  nut-server  2.7.2-3

nut recommends no packages.

nut suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to