Unable to upgrade Nagios to V 5.7.2
Posted: Wed Aug 12, 2020 10:58 am
Hi,
Currently i have Nagios XI 5.6.14 hosted on RHEL 7.7 and i tried to upgrade to 5.7.2. It failed with the following errors.
./upgrade
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager, versionlock
Examining nagiosxi-shellinabox-5.7.2-2.el7.x86_64.rpm: nagiosxi-shellinabox-5.7.2-2.el7.x86_64
Marking nagiosxi-shellinabox-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-shellinabox-5.6.14-1.el7.x86_64
Examining nagiosxi-nxti-5.7.2-2.el7.x86_64.rpm: nagiosxi-nxti-5.7.2-2.el7.x86_64
Marking nagiosxi-nxti-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nxti-5.6.14-1.el7.x86_64
Skipping: and, filename does not end in .rpm.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-nxti.x86_64 0:5.6.14-1.el7 will be updated
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.6.14-1.el7 for package: nagiosxi-5.6.14-1.el7.x86_64
DIS_EPEL_EL7_EPEL_EL7 | 2.8 kB 00:00:00
Not using downloaded DIS_EPEL_EL7_EPEL_EL7/repomd.xml because it is older than what we have:
Current : Wed Jul 1 19:10:54 2020
Downloaded: Wed Jul 1 19:00:26 2020
rhel-7-server-ansible-2-rpms | 2.3 kB 00:00:00
Not using downloaded rhel-7-server-ansible-2-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 21:17:35 2020
Downloaded: Wed Jul 1 20:57:33 2020
rhel-7-server-extras-rpms | 2.0 kB 00:00:00
Not using downloaded rhel-7-server-extras-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 19:11:43 2020
Downloaded: Wed Jul 1 19:00:31 2020
rhel-7-server-optional-rpms | 1.8 kB 00:00:00
Not using downloaded rhel-7-server-optional-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 20:46:47 2020
Downloaded: Wed Jul 1 20:22:54 2020
rhel-7-server-rh-common-rpms | 2.1 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
Not using downloaded rhel-7-server-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 21:53:56 2020
Downloaded: Wed Jul 1 21:31:32 2020
rhel-7-server-satellite-tools-6.5-rpms | 2.1 kB 00:00:00
rhel-7-server-supplementary-rpms | 2.0 kB 00:00:00
rhel-ha-for-rhel-7-server-rpms | 2.0 kB 00:00:00
---> Package nagiosxi-nxti.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-shellinabox.x86_64 0:5.6.14-1.el7 will be updated
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7 for package: nagiosxi-5.6.14-1.el7.x86_64
---> Package nagiosxi-shellinabox.x86_64 0:5.7.2-2.el7 will be an update
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-nxti-5.6.14-1.el7.x86_64 (@/nagiosxi-nxti-5.6.14-1.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-nxti-5.7.2-2.el7.x86_64 (/nagiosxi-nxti-5.7.2-2.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-shellinabox-5.6.14-1.el7.x86_64 (@/nagiosxi-shellinabox-5.6.14-1.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-shellinabox-5.7.2-2.el7.x86_64 (/nagiosxi-shellinabox-5.7.2-2.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-nxti-5.6.14-1.el7.x86_64 (@/nagiosxi-nxti-5.6.14-1.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-nxti-5.7.2-2.el7.x86_64 (/nagiosxi-nxti-5.7.2-2.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-shellinabox-5.6.14-1.el7.x86_64 (@/nagiosxi-shellinabox-5.6.14-1.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-shellinabox-5.7.2-2.el7.x86_64 (/nagiosxi-shellinabox-5.7.2-2.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager, versionlock
Any thoughts to resolve the issue will be much appreciated.
Thanks,
Currently i have Nagios XI 5.6.14 hosted on RHEL 7.7 and i tried to upgrade to 5.7.2. It failed with the following errors.
./upgrade
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager, versionlock
Examining nagiosxi-shellinabox-5.7.2-2.el7.x86_64.rpm: nagiosxi-shellinabox-5.7.2-2.el7.x86_64
Marking nagiosxi-shellinabox-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-shellinabox-5.6.14-1.el7.x86_64
Examining nagiosxi-nxti-5.7.2-2.el7.x86_64.rpm: nagiosxi-nxti-5.7.2-2.el7.x86_64
Marking nagiosxi-nxti-5.7.2-2.el7.x86_64.rpm as an update to nagiosxi-nxti-5.6.14-1.el7.x86_64
Skipping: and, filename does not end in .rpm.
Examining perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch
perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch.rpm: does not update installed package.
Resolving Dependencies
--> Running transaction check
---> Package nagiosxi-nxti.x86_64 0:5.6.14-1.el7 will be updated
--> Processing Dependency: nagiosxi-nxti(x86-64) = 5.6.14-1.el7 for package: nagiosxi-5.6.14-1.el7.x86_64
DIS_EPEL_EL7_EPEL_EL7 | 2.8 kB 00:00:00
Not using downloaded DIS_EPEL_EL7_EPEL_EL7/repomd.xml because it is older than what we have:
Current : Wed Jul 1 19:10:54 2020
Downloaded: Wed Jul 1 19:00:26 2020
rhel-7-server-ansible-2-rpms | 2.3 kB 00:00:00
Not using downloaded rhel-7-server-ansible-2-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 21:17:35 2020
Downloaded: Wed Jul 1 20:57:33 2020
rhel-7-server-extras-rpms | 2.0 kB 00:00:00
Not using downloaded rhel-7-server-extras-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 19:11:43 2020
Downloaded: Wed Jul 1 19:00:31 2020
rhel-7-server-optional-rpms | 1.8 kB 00:00:00
Not using downloaded rhel-7-server-optional-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 20:46:47 2020
Downloaded: Wed Jul 1 20:22:54 2020
rhel-7-server-rh-common-rpms | 2.1 kB 00:00:00
rhel-7-server-rpms | 2.0 kB 00:00:00
Not using downloaded rhel-7-server-rpms/repomd.xml because it is older than what we have:
Current : Wed Jul 1 21:53:56 2020
Downloaded: Wed Jul 1 21:31:32 2020
rhel-7-server-satellite-tools-6.5-rpms | 2.1 kB 00:00:00
rhel-7-server-supplementary-rpms | 2.0 kB 00:00:00
rhel-ha-for-rhel-7-server-rpms | 2.0 kB 00:00:00
---> Package nagiosxi-nxti.x86_64 0:5.7.2-2.el7 will be an update
---> Package nagiosxi-shellinabox.x86_64 0:5.6.14-1.el7 will be updated
--> Processing Dependency: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7 for package: nagiosxi-5.6.14-1.el7.x86_64
---> Package nagiosxi-shellinabox.x86_64 0:5.7.2-2.el7 will be an update
--> Finished Dependency Resolution
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-nxti-5.6.14-1.el7.x86_64 (@/nagiosxi-nxti-5.6.14-1.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-nxti-5.7.2-2.el7.x86_64 (/nagiosxi-nxti-5.7.2-2.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-shellinabox-5.6.14-1.el7.x86_64 (@/nagiosxi-shellinabox-5.6.14-1.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-shellinabox-5.7.2-2.el7.x86_64 (/nagiosxi-shellinabox-5.7.2-2.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-nxti-5.6.14-1.el7.x86_64 (@/nagiosxi-nxti-5.6.14-1.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-nxti-5.7.2-2.el7.x86_64 (/nagiosxi-nxti-5.7.2-2.el7.x86_64)
nagiosxi-nxti(x86-64) = 5.7.2-2.el7
Error: Package: nagiosxi-5.6.14-1.el7.x86_64 (@/nagiosxi-5.6.14-1.el7.x86_64)
Requires: nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Removing: nagiosxi-shellinabox-5.6.14-1.el7.x86_64 (@/nagiosxi-shellinabox-5.6.14-1.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.6.14-1.el7
Updated By: nagiosxi-shellinabox-5.7.2-2.el7.x86_64 (/nagiosxi-shellinabox-5.7.2-2.el7.x86_64)
nagiosxi-shellinabox(x86-64) = 5.7.2-2.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager, versionlock
Any thoughts to resolve the issue will be much appreciated.
Thanks,