Upgrade - How to fix 404 errors when updating OP5 Monitor using yum (changes in ITRS OP5 Monitor repositories)?
In September 2019, changes were made to the ITRS OP5 monitor repositories. As a result, we no longer provide the CentOS base and updates repositories. We have also removed old and obsolete repositories.
Customers who have systematically updated Monitor over a long period of time may run in to “404 errors” because yum or dnf can no longer find configured repositories. You may see errors like:
http://repos.op5.com/el6/x86_64/centos/6/base/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 404 Not Found”
The following needs to be done to ensure your repositories are up to date:
-
Move all of these obsolete OP5 repository files out of the “/etc/yum.repos.d/” directory:
- op5-system-release.repo
- op5-system-release-source.repo
- op5-system-release-debuginfo.repo
- op5-release-public_beta.repo
- op5-release-public_beta-source.repo
- op5-release-public_beta-debuginfo.repo
-
Ensure
enabled=1is set in thebaseandupdatesrepos in the/etc/yum.repos.d/CentOS-Base.reporepo-file. This will makeyumretrieve CentOS updates from official CentOS mirrors. -
Ensure
enabled=1is set in theop5-monitor-updatesandop5-epelrepos within the/etc/yum.repos.d/op5-release.reporepo-file. -
Issue the following command to clear your cache:
yum clean all
Now it should be possible to update your Monitor installation and your CentOS installation using:
yum update