[Pkg-nagios-devel] Bug#877933: nagios-plugins-contrib: check_lm_sensors needs List/MoreUtils.pm

Oliver Gerlich olig9 at gmx.de
Sat Oct 7 13:30:07 UTC 2017

Package: nagios-plugins-contrib
Version: 21.20170222
Severity: normal

Dear Maintainer,

when running /usr/lib/nagios/plugins/check_lm_sensors in any way (eg. simply with --help parameter) it fails with this error:

Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 /usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/lib/nagios/plugins/check_lm_sensors line 25.
BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/check_lm_sensors line 25.

This system was just upgraded from Jessie to Stretch, and after upgrade I purged all unnecessary packages using aptitude.
The liblist-moreutils-perl:amd64 (0.416-1+b1) package was purged as well. I suppose this broke the check_lm_sensors command.
After manually installing liblist-moreutils-perl (0.416-1+b1), check_lm_sensors --help works again.

Thank you,

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

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

nagios-plugins-contrib depends on no packages.

Versions of packages nagios-plugins-contrib recommends:
ii  bind9-host                        1:9.10.3.dfsg.P4-12.3+deb9u3
ii  binutils                          2.28-5
ii  freeipmi-tools                    1.4.11-1.1+b1
ii  libc6                             2.24-11+deb9u1
ii  libdata-validate-domain-perl      0.10-1
ii  libdata-validate-ip-perl          0.27-1
ii  libdate-manip-perl                6.57-1
ii  libdbd-mysql-perl                 4.041-2
ii  libio-socket-ssl-perl             2.044-1
ii  libipc-run-perl                   0.94-1
ii  liblocale-gettext-perl            1.07-3+b1
ii  liblwp-useragent-determined-perl  1.07-1
ii  libmail-imapclient-perl           3.38-1
ii  libmemcached11                    1.0.18-4.1
ii  libmemcachedutil2                 1.0.18-4.1
ii  libmonitoring-plugin-perl         0.39-1
ii  libnet-cups-perl                  0.63-1
ii  libnet-dns-perl                   1.07-1
ii  libnet-dns-sec-perl               1.03-1
ii  libnet-smtp-ssl-perl              1.04-1
ii  libnet-smtp-tls-perl              0.12-3
ii  libnet-smtpauth-perl              0.08-4
ii  libnet-snmp-perl                  6.0.1-2
ii  libnet-ssleay-perl                1.80-1
ii  libreadonly-perl                  2.050-1
ii  libredis-perl                     2:1.9910-1
ii  libtimedate-perl                  2.3000-2
ii  libvarnishapi1                    5.0.0-7+deb9u1
ii  libwebinject-perl                 1.92-1
ii  libxml-simple-perl                2.22-1
ii  libyaml-syck-perl                 1.29-1+b2
ii  lsof                              4.89+dfsg-0.1
ii  nagios-plugins-basic              2.2-3
ii  openssl                           1.1.0f-3
ii  perl                              5.24.1-3+deb9u2
ii  perl-base [libsocket-perl]        5.24.1-3+deb9u2
ii  python                            2.7.13-2
ii  python-pymongo                    3.4.0-1
ii  ruby                              1:2.3.3
ii  snmp                              5.7.3+dfsg-1.7
ii  whois                             5.2.17~deb9u1

Versions of packages nagios-plugins-contrib suggests:
pn  backuppc                   <none>
pn  cciss-vol-status           <none>
pn  expect                     <none>
pn  libsys-virt-perl           <none>
pn  moreutils                  <none>
pn  mpt-status                 <none>
ii  nagios-plugin-check-multi  0.26-3
pn  percona-toolkit            <none>
pn  perl-doc                   <none>
ii  python2.7                  2.7.13-2
pn  smstools                   <none>

-- no debconf information

More information about the Pkg-nagios-devel mailing list