Oracle Linux – OSMH Update Fails due to OL7 Package Dependency Conflict
APPLIES TO:
Oracle Cloud Infrastructure
OS Management Hub (OSMH)
SYMPTOMS:
OSMH update job fails with the following error:
exit status 1: Error: transaction check vs depsolve: libwbclient = 4.10.16-25.0.5.el7_9 is needed by (installed) libwbclient-devel-0:4.10.16-25.0.5.el7_9.x86_64
CHANGES:
The system was upgraded from Oracle Linux 7 to Oracle Linux 8 using leapp
.
Legacy packages from OL7 (e.g., libwbclient-devel
) were not removed.
CAUSE:
A leftover OL7 development package (libwbclient-devel) still exists on the system, which depends on an unavailable OL7 version of libwbclient. This causes the update to fail due to broken dependencies.
The system probably have corrupted RPMDB, running 'rpm --rebuilddb' might fix the issue.