Page 1 of 1

Error Trying to add Repo

Posted: Thu Feb 01, 2024 10:19 am
by dancormack
I am trying to install the Nagios repo on a server hosted in Oracle Cloud Infrastructure. I am receiving the following error:
sudo rpm -Uvh https://repo.nagios.com/nagios/9/nagios ... noarch.rpm
Retrieving https://repo.nagios.com/nagios/9/nagios ... noarch.rpm
error: Failed dependencies:
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by nagios-repo-9-1.el9.noarch

Can you please identify the steps required to correct this so tha tI can install the NCPA agent? Thanks!

Re: Error Trying to add Repo

Posted: Thu Feb 01, 2024 3:11 pm
by jmichaelson
What is the output of running

rpm -q rpmlib

Re: Error Trying to add Repo

Posted: Thu Feb 01, 2024 3:43 pm
by dancormack
Hi! I get this:

package rpmlib is not installed

I guess I need to know how to install this, ensuring it's whatever version is needed etc.

Re: Error Trying to add Repo

Posted: Fri Feb 02, 2024 12:19 pm
by bbahn
Hello @dancormack,
per https://community.oracle.com/customerco ... positories
1) If the package is not already installed in the system, use:

Code: Select all

sudo yum install --downloadonly --downloaddir=. package-name 
This will download the RPM and any needed dependencies to the local directory.

Re: Error Trying to add Repo

Posted: Mon Feb 05, 2024 3:44 pm
by jmichaelson
Try running yum install rpmlib