OAG: Upgrade or Package Installation Complaining About okta-deps Package Dependencies
Last Updated:
Overview
While upgrading or installing okta-release package on Okta Access Gateway appliance , an error is noticed for okta-deps* package as shown below:
Enter package name to install: okta-release-2026.5.1-73c148ab1
37 files removed
Access Gateway - Prod 17 MB/s | 4.6 MB 00:00
Access Gateway - Prod Drivers 34 kB/s | 5.8 kB 00:00
Access Gateway - Prod EPEL 90 kB/s | 15 kB 00:00
Access Gateway - Oracle Linux 8 BaseOS Latest 52 MB/s | 140 MB 00:02
Access Gateway - Oracle Linux 8 Application Str 59 MB/s | 80 MB 00:01
Access Gateway - Prod REMI 368 kB/s | 63 kB 00:00
Error:
Problem: problem with installed package okta-deps-ova-2025.5.4-7943f15db.x86_64
- package okta-deps-ova-2025.5.4-7943f15db.x86_64 from @System requires okta-release = 2025.5.4-7943f15db, but none of the providers can be installed
- package okta-deps-ova-2025.5.4-7943f15db.x86_64 from oagprod requires okta-release = 2025.5.4-7943f15db, but none of the providers can be installed
... < truncated > ...
- cannot install the best candidate for the job
- nothing provides nvmetcli = 0.7-1.el8 needed by okta-deps-ova-2021.10.2-041072a.x86_64 from oagprod
- nothing provides nvmetcli = 0.7-1.el8 needed by okta-deps-ova-2021.11.2-f609b15.x86_64 from oagprod
... < truncated > ...
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Failed to install okta-release-2026.5.1-73c148ab1Applies To
- Okta Access Gateway (OAG)
- Upgrade
- Okta Identity Engine (OIE)
- Okta Classic Engine
Cause
When doing a selective upgrade, the okta-deps package is installed and should be removed at the end of the upgrade. If that upgrade was interrupted or ran into some problem, the package may not have been removed and can cause a conflict at the time of upgrade or package installation.
The package name depends on the platform:
AWS/VMware: okta-deps-ova
OCI: okta-deps-oci
Azure: okta-deps-azure
Nutanix: okta-deps-nutanix
GCP: okta-deps-gcp
Solution
- Verify that the okta-deps package is installed.
sudo rpm -qa | grep okta-deps
- Remove the package from the mgmt console menu.
- 5-System > 3-Remove Package.
- Enter the platform-specific package name. The version is not required. The output will look like this:
Enter package name to remove: okta-deps-ova Ready to remove package okta-deps-ova Is this ok [y/N]: y Successfully removed okta-deps-ova without dependencies Press enter to continue ...
- Retry installing the okta-release package.
