matteocorti / check_updates

check_updates is a Nagios plugin to check if RedHat or Fedora system is up-to-date
https://matteocorti.github.io/check_updates/
GNU General Public License v3.0
20 stars 18 forks source link

EL8: readonly dependency #55

Closed pille closed 2 years ago

pille commented 2 years ago

Describe the bug

on EL8 (e.g. AlmaLinux 8.6) perl-Readonly is also a runtime requirement (not only buildtime):

Can't locate Readonly.pm in @INC (you may need to install the Readonly module) (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at /usr/lib64/nagios/plugins/check_updates line 29.
BEGIN failed--compilation aborted at /usr/lib64/nagios/plugins/check_updates line 29.

To Reproduce

freshly install AlmaLinux 8.6 and check_updates.

Expected behavior

plugin works

System (please complete the following information):

matteocorti commented 2 years ago

Thanks, fixed the spec file and released an updated version