On Thu, Jan 26, 2017 at 08:05:06AM +0000, Jan Huijsmans wrote:
> Package: collectd-core
> Version: 5.7.0-3
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> Installation of collectd fails on the start of the package.
> The package misses files from libsensors4 liboping0, but these
> packages are only recommended or even suggested.

The configuration file shipped with the collectd package only loads these
plugins by default:

marc@lonquimay:~/src/pkg-collectd/debian$ grep ^LoadPlugin collectd.conf
LoadPlugin syslog
LoadPlugin battery
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin entropy
LoadPlugin interface
LoadPlugin irq
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin rrdtool
LoadPlugin swap
LoadPlugin users

None of them depend on libsensors4 or liboping0 (the sensors and ping
plugins do, but they aren't enabled by default).

So my guess is that this system previously had a non-default configuration
(maybe some config snippets in /etc/collectd/collectd.conf.d/ ?) in place,
and installing/upgrading collectd-core made the missing runtime
dependencies strike out.

Are you able to confirm ?

NB: I agree such a failure is undesirable. The collectd plugin loading
mechanism could maybe be changed to not abort startup in this case (just
skip loading the plugin and emit an error message).

> Manual installation of libsensors4 liboping0 solved the issue.
> 
> When a package won't complete it's installation without a
> package, it should be a requirement, not anything less.
> 
> Probably an issue with the debian packages as well.

Are you aware of /usr/share/doc/collectd-core/README.Debian.plugins.gz ?

Cheers,
Marc

Reply via email to