AlmaLinux 8 to 9 and openssl

I’m on AlmaLinux release 8.10 (Cerulean Leopard) and attempting to upgrade to 9.

The leapp upgrade fails with openssl-libs and openssl3-libs conflicts, and I can’t find a solution.

Any help or suggestions very welcome.

Nigel

Error: Transaction test error:
file /usr/lib64/engines-3/afalg.so from install of openssl-libs-1:3.0.7-25.el9_3.x86_64 conflicts with file from package openssl3-libs-3.2. 2-2.1.el8.x86_64
file /usr/lib64/engines-3/capi.so from install of openssl-libs-1:3.0.7-25.el9_3.x86_64 conflicts with file from package openssl3-libs-3.2.2 -2.1.el8.x86_64
file /usr/lib64/engines-3/loader_attic.so from install of openssl-libs-1:3.0.7-25.el9_3.x86_64 conflicts with file from package openssl3-li bs-3.2.2-2.1.el8.x86_64
file /usr/lib64/engines-3/padlock.so from install of openssl-libs-1:3.0.7-25.el9_3.x86_64 conflicts with file from package openssl3-libs-3. 2.2-2.1.el8.x86_64
file /usr/lib64/libcrypto.so.3 from install of openssl-libs-1:3.0.7-25.el9_3.x86_64 conflicts with file from package openssl3-libs-3.2.2-2. 1.el8.x86_64
file /usr/lib64/libssl.so.3 from install of openssl-libs-1:3.0.7-25.el9_3.x86_64 conflicts with file from package openssl3-libs-3.2.2-2.1.e l8.x86_64
file /usr/lib64/ossl-modules/legacy.so from install of openssl-libs-1:3.0.7-25.el9_3.x86_64 conflicts with file from package openssl3-libs- 3.2.2-2.1.el8.x86_64

The el9 will have openssl “3” no matter what. System requires it
On el8 the openssl3 is something that you have added. Optional.

Remove the openssl3-libs. When you do, record what was removed with it due to dependency. Then upgrade.
After upgrade (re)install the missing applications (if necessary).

Many thanks for the very swift reply, Jukka.

Your suggestion worked seamlessly.