Error Trying to add Repo

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
dancormack
Posts: 20
Joined: Tue Mar 25, 2014 2:00 pm

Error Trying to add Repo

Post 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!
User avatar
jmichaelson
Posts: 117
Joined: Wed Aug 23, 2023 1:02 pm

Re: Error Trying to add Repo

Post by jmichaelson »

What is the output of running

rpm -q rpmlib
Please let us know if you have any other questions or concerns.

-Jason
dancormack
Posts: 20
Joined: Tue Mar 25, 2014 2:00 pm

Re: Error Trying to add Repo

Post 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.
bbahn
Posts: 112
Joined: Thu Jan 12, 2023 5:42 pm

Re: Error Trying to add Repo

Post 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.
April: Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
User avatar
jmichaelson
Posts: 117
Joined: Wed Aug 23, 2023 1:02 pm

Re: Error Trying to add Repo

Post by jmichaelson »

Try running yum install rpmlib
Please let us know if you have any other questions or concerns.

-Jason
Post Reply