[SOLVED] CentOS 8.1.1911: Can't install "nagios-plugins-all-2.3.3-1.el8.x86_64" due to missing PERL dependencies

Issues related to applications and software problems and general support
Post Reply
ddjm73
Posts: 13
Joined: 2020/05/19 11:21:30

[SOLVED] CentOS 8.1.1911: Can't install "nagios-plugins-all-2.3.3-1.el8.x86_64" due to missing PERL dependencies

Post by ddjm73 » 2020/05/19 12:01:00

Hi all,

we use Ansible to manage and configure our many CentOS 7.x and 8.x installations and everything was working fine so far. But now with freshly installed CentOS 8.1 installations I am running into this error when I run my Ansible playbook against them:

Image

This was working before! :?

The relevant section in the Ansible playbook looks like this:

Image

I tried to solve the problem by installing the packages manually but that failed too (please see the output below). The core of the problem seems to be that there is no "perl-Convert-ASN1" package which is a dependency for "perl-Crypt-X509", which is a dependency for "nagios-plugins-ssl_validity", which is a dependency for "nagios-plugins-all" ... so how do I get out of this dependency hell?

Output from manual installation attempts:

Code: Select all

yum --enablerepo=epel,epel-testing,PowerTools install perl-utf8-all  perl-Import-Into perl-PerlIO-utf8_strict nagios-plugins-all nagios-plugins-ssl_validity perl-Crypt-X509

Last metadata expiration check: 0:19:49 ago on Tue 19 May 2020 01:35:08 PM CEST.
Package perl-utf8-all-0.024-7.el8.noarch is already installed.
Package perl-Import-Into-1.002005-7.el8.noarch is already installed.
Package perl-PerlIO-utf8_strict-0.007-5.el8.x86_64 is already installed.
Error:
 Problem 1: conflicting requests
  - nothing provides perl(Convert::ASN1) >= 0.19 needed by perl-Crypt-X509-0.51-19.el8.noarch
 Problem 2: package nagios-plugins-ssl_validity-2.3.3-1.el8.x86_64 requires perl(Crypt::X509), but none of the providers can be installed
  - conflicting requests
  - nothing provides perl(Convert::ASN1) >= 0.19 needed by perl-Crypt-X509-0.51-19.el8.noarch
 Problem 3: package nagios-plugins-all-2.3.3-1.el8.x86_64 requires nagios-plugins-ssl_validity, but none of the providers can be installed
  - package nagios-plugins-ssl_validity-2.3.3-1.el8.x86_64 requires perl(Crypt::X509), but none of the providers can be installed
  - conflicting requests
  - nothing provides perl(Convert::ASN1) >= 0.19 needed by perl-Crypt-X509-0.51-19.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
A package "perl-Convert-ASN1" exists for CentOS 7.x, e.g. here:
https://centos.pkgs.org/7/centos-x86_64 ... h.rpm.html

... but I can't find one for CentOS 8.x

So how can I solve this problem?
Attachments
Ansible playbook section
Ansible playbook section
Ansible-Playbook__Nagios-Plugins-Install.PNG (12.45 KiB) Viewed 10911 times
Ansible error message
Ansible error message
Ansible-Error__Nagios-Install__Fails.PNG (69.11 KiB) Viewed 10911 times
Last edited by ddjm73 on 2020/06/08 06:35:14, edited 1 time in total.

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentOS 8.1.1911: Can't install "nagios-plugins-all-2.3.3-1.el8.x86_64" due to missing PERL dependencies

Post by TrevorH » 2020/05/19 12:19:45

I'd suggest reporting it to EPEL on bugzilla.redhat.com. The package that is complaining about the lack of perl-convert-ASN1 is from EPEL, the package perl-convert-ASN1 is from EPEL...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

ddjm73
Posts: 13
Joined: 2020/05/19 11:21:30

Re: CentOS 8.1.1911: Can't install "nagios-plugins-all-2.3.3-1.el8.x86_64" due to missing PERL dependencies

Post by ddjm73 » 2020/05/19 12:22:55

Thanks for approving the post and for your answer...

Something else... why are my "img" tags above not working correctly? :?: Instead of showing the image inline they are only shown below in the "attachments" section?

ddjm73
Posts: 13
Joined: 2020/05/19 11:21:30

Re: CentOS 8.1.1911: Can't install "nagios-plugins-all-2.3.3-1.el8.x86_64" due to missing PERL dependencies

Post by ddjm73 » 2020/05/20 10:36:58

In case anyone runs into the same problem and maybe finds this post via e.g. Google ...

Please check these bug reports if there is a solution to the problem that I posted about above:

https://bugzilla.redhat.com/show_bug.cgi?id=1837397
https://pagure.io/fedora-infrastructure/issue/8928

ddjm73
Posts: 13
Joined: 2020/05/19 11:21:30

Re: [SOLVED] CentOS 8.1.1911: Can't install "nagios-plugins-all-2.3.3-1.el8.x86_64" due to missing PERL dependencies

Post by ddjm73 » 2020/06/08 06:37:39

Solution, as of June 2020:

Code: Select all

dnf --enablerepo=epel-testing,PowerTools update
=> This will download the updated "nagios-plugins-all" package without the broken dependencies.

Clovis_Sangrail
Posts: 25
Joined: 2016/04/19 23:19:36

Re: [SOLVED] CentOS 8.1.1911: Can't install "nagios-plugins-all-2.3.3-1.el8.x86_64" due to missing PERL dependencies

Post by Clovis_Sangrail » 2020/10/07 21:42:47

I experienced the same issue in Centos 8.2.2004:

Code: Select all

[root ~]# uname -a
Linux server 4.18.0-193.19.1.el8_2.x86_64 #1 SMP Mon Sep 14 14:37:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@ ~]# cat /etc/redhat-release 
CentOS Linux release 8.2.2004 (Core) 
But the dnf commands given in the previous comment didn't do anythng for me:

Code: Select all

[root ~]# dnf --enablerepo=epel-testing,PowerTools update
Last metadata expiration check: 0:49:02 ago on Wed 07 Oct 2020 04:18:55 PM EDT.
Dependencies resolved.
Nothing to do.
Complete!
[root ~]# dnf -y install nagios-plugins-all
Last metadata expiration check: 2:21:36 ago on Wed 07 Oct 2020 02:46:53 PM EDT.
Error: 
 Problem: package nagios-plugins-all-2.3.3-4.el8.x86_64 requires nagios-plugins-disk_smb, but none of the providers can be installed
  - package nagios-plugins-disk_smb-2.3.3-4.el8.x86_64 requires perl(utf8::all), but none of the providers can be installed
  - conflicting requests
  - nothing provides perl(Import::Into) needed by perl-utf8-all-0.024-7.el8.noarch
  - nothing provides perl(PerlIO::utf8_strict) needed by perl-utf8-all-0.024-7.el8.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root ~]#
Instead, the following dnf commands fixed the issue:

Code: Select all

[root@webserver ~]# dnf config-manager --set-enabled epel-testing
[root@webserver ~]# dnf config-manager --set-enabled PowerTools
[root@webserver ~]# dnf -y install nagios-plugins-all
CentOS-8 - PowerTools                                                                                                            18 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux 8 - Testing - x86_64                                                                         54 kB/s |  12 kB     00:00    
Extra Packages for Enterprise Linux 8 - Testing - x86_64                                                                        801 kB/s | 1.9 MB     00:02    
Dependencies resolved.
.     .     .     .     .     .     .     .

Complete!
[root@webserver ~]#

Post Reply