Upgrade to 5.7.3 failure due to dependency

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
IPOInS
Posts: 25
Joined: Tue Jan 14, 2020 6:08 am

Upgrade to 5.7.3 failure due to dependency

Post by IPOInS »

I may have jumped the gun slightly with thinking my last post was resolved sorry!

Attempting to upgrade to 5.7.3 (from 5.6.9) via the manual download process as suggested but it doesn't appear to be working

When i run ./upgrade I run into this error:

Error: Package: nagiosxi-deps-el7-5.7.3-1.noarch (/nagiosxi-deps-el7-5.7.3-1.noarch)
Requires: git
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


but that dependency appears to be installed (currently running git 2.28)

Am i misinterpreting what the error is telling me?

any guidance appreciated
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to 5.7.3 failure due to dependency

Post by scottwilkerson »

What do you get when rinning the following

Code: Select all

yum list installed |grep git
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
IPOInS
Posts: 25
Joined: Tue Jan 14, 2020 6:08 am

Re: Upgrade to 5.7.3 failure due to dependency

Post by IPOInS »

i get the following:

Code: Select all

crontabs.noarch                    1.11-6.20121102git.el7         @anaconda
linux-firmware.noarch              20180220-62.2.git6d51311.el7_5 @updates
lm_sensors-devel.x86_64            3.4.0-4.20160601gitf9185e5.el7 @base
lm_sensors-libs.x86_64             3.4.0-4.20160601gitf9185e5.el7 @base

and if I run git --version i get

git version 2.28.0
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to 5.7.3 failure due to dependency

Post by scottwilkerson »

IPOInS wrote:i get the following:

Code: Select all

crontabs.noarch                    1.11-6.20121102git.el7         @anaconda
linux-firmware.noarch              20180220-62.2.git6d51311.el7_5 @updates
lm_sensors-devel.x86_64            3.4.0-4.20160601gitf9185e5.el7 @base
lm_sensors-libs.x86_64             3.4.0-4.20160601gitf9185e5.el7 @base

and if I run git --version i get

git version 2.28.0
This would mean that you installed git outside of the package management system.

Being git is part of the base repository I'm more concerned why this wouldn't be available
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
IPOInS
Posts: 25
Joined: Tue Jan 14, 2020 6:08 am

Re: Upgrade to 5.7.3 failure due to dependency

Post by IPOInS »

it appears we've switched to not allowing direct connection to the centos base repo and switched to an internal mirror.

explains why it can't find it! hopefully introducing said repo will help, though If git Is install regardless (outside of this) does it still not meet the dependency requirement? or is the upgrade specifically looking at the repo's installed list to meet said requirement?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Upgrade to 5.7.3 failure due to dependency

Post by scottwilkerson »

IPOInS wrote:it appears we've switched to not allowing direct connection to the centos base repo and switched to an internal mirror.

explains why it can't find it! hopefully introducing said repo will help, though If git Is install regardless (outside of this) does it still not meet the dependency requirement? or is the upgrade specifically looking at the repo's installed list to meet said requirement?
The upgrade expects to be able to find the package requirements it needs in the base, epel and nagios repositories
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked