Nagios offline install -- not offline? Still reaching to yum
Posted: Tue Jul 28, 2020 9:15 am
EDIT/TLDR: I didn't read the full offline instructions mandating that the offline install still needs access to the based RHEL repositories. After resolving that, the main problem is the lack of a php-imap package.
Following the instructions https://repo.nagios.com/?repo=offline found here, my upgrade from 5.4 to 5.7 is failing. The error appears to be related to mismatched (or unavailable) packages in my local yum repositories.
There is also a large stack of similar errors related to various php packages.
I need a workaround for this. The whole point of an offline install is to NOT reach out to absolutely anywhere.
ADDENDUM: I removed all repos from my yum config entirely so see what happened. Here is the error stack:
ADDENDUM: I noticed at the bottom of the page it said offline install still needed access to baseline redhat repos, so I added them back in and kept the local repo out. Here is the final smaller set of errors:
Following the instructions https://repo.nagios.com/?repo=offline found here, my upgrade from 5.4 to 5.7 is failing. The error appears to be related to mismatched (or unavailable) packages in my local yum repositories.
Code: Select all
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
Available: nagiosxi-shellinabox-5.6.8-1.el7.x86_64 (mylocal-repository)
nagiosxi-shellinabox(x86-64) = 5.6.8-1.el7
I need a workaround for this. The whole point of an offline install is to NOT reach out to absolutely anywhere.
ADDENDUM: I removed all repos from my yum config entirely so see what happened. Here is the error stack:
Code: Select all
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: rsync
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: ipa-mincho-fonts
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: ipa-pmincho-fonts
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: ipa-pgothic-fonts
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: git
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: php-devel
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: net-snmp-perl
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: ipa-gothic-fonts
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: php-imap
Code: Select all
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: php-imap
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.7.2-2.el7.x86_64 (/nagiosxi-5.7.2-2.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7