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

Package conflict apcupsd and nut-client



Hello guys,

so I got a new UPS from APC and need to connect multiple systems with
the network ups tools which are provided in the 'nut' package. Since I
plan on using the USB connection and the UPS model is not directly
supported by 'nut', I need 'apcupsd' and connect via the given driver
(see https://networkupstools.org/docs/man/apcupsd-ups.html).

As the manual tells 'apcupsd-ups acts as an apcupsd client, simply
forwarding data. This can be useful in cases where both protocols are
required in a network, or in case apcupsd has a required UPS access mode
missing from NUT.' Therefore I want to use both packages at the same
time, but trying to install both results in a conflict between 'apcupsd'
and 'nut-client'. Both provide and conflict 'ups-monitor':

$ sudo apt show apcupsd
Package: apcupsd
Version: 3.14.14-2
Priority: optional
Section: admin
Maintainer: Thorsten Alteholz <debian@alteholz.de>
Installed-Size: 904 kB
Provides: ups-monitor
Depends: libc6 (>= 2.27), libgcc1 (>= 1:4.2), libusb-0.1-4 (>=
2:0.1.12), libwrap0 (>= 7.6-4~), lsb-base
Recommends: apcupsd-doc, s-nail | mailx
Suggests: apcupsd-cgi, udev
Conflicts: ups-monitor
Homepage: http://www.apcupsd.org/
Tag: admin::power-management, hardware::power, hardware::power:ups,
 interface::daemon, interface::graphical, interface::text-mode,
 interface::x11, network::server, role::program, scope::utility,
 uitoolkit::gtk, uitoolkit::ncurses, use::monitor, x11::application
Download-Size: 264 kB
APT-Manual-Installed: yes
APT-Sources: https://deb.debian.org/debian buster/main amd64 Packages

$ sudo apt show nut-client
Package: nut-client
Version: 2.7.4-8
Priority: optional
Section: admin
Source: nut
Maintainer: Arnaud Quette <aquette@debian.org>
Installed-Size: 515 kB
Provides: ups-monitor
Depends: adduser, lsb-base (>= 3.0-6), libc6 (>= 2.15), libupsclient4
(>= 2.7.2)
Recommends: bash-completion
Suggests: nut-monitor
Conflicts: ups-monitor
Breaks: nut (<< 2.6.1-2~), nut-server (<< 2.6.3-1~)
Replaces: nut (<< 2.6.1-2~), nut-server (<< 2.6.3-1~), ups-monitor
Homepage: http://www.networkupstools.org/
Tag: role::program
Download-Size: 251 kB
APT-Sources: https://deb.debian.org/debian buster/main amd64 Packages


My questions are:
Is this a mistake?
If so, where do I report this?
And how can I still make use of both of these packages on one system?

Thanks in advance!

Cheers,
Sebastian Hofmann


Reply to: