Installing a package OR upgrading OAG appliance might fail with the following error:
package <package-name> from oagprod obsoletes java-1.8.0-openjdk-headless provided by java-1.8.0-openjdk-headless-1:1.8.0.272.b10-1
Complete error screenshot below for reference:
- Okta Access Gateway (OAG)
- Build Version 2024.6.1
During the metadata check, some package dependencies were identified using an obsolete version. In these scenarios, OAG upgrade errors out since the recommended yum hints cannot be passed. The obsolete/conflicting package needs to be removed in these cases.
- Log in to the management console shell option.
- Switch to root.
sudo su -
- Run the following command to show the newest created upgrade log folder at the bottom of the list.
ls -ltr /opt/oag/upgrades/
- Check the yum logs from the identified directory for the following error. Proceed with next step if the log shows up:
grep "Problem: problem with installed package java-1.8.0-openjdk-1:1.8.0.402.b06-2.0.1.el8.x86_64" /opt/oag/upgrades/<upgrade-dir_from_step-3>/*
- Remove the package.
yum remove java-1.8.0-openjdk-1:1.8.0.402.b06-2.0.1.el8.x86_64
NOTE: Try installing a package or upgrading through the management interface again. Reach out to Okta support if the issue persists.
