I have a customer wanting to use libfabric along with mlnx-ofed-all rpm package in Rocky 8.4. We did not have issues with both libfabric and mlnx-ofed-all being installed together on CentOS 7.x variants. We have found that the new mlnx-ofed-all EL8 rpm contains a obsoletes flag for libfabric, which is why were can’t install both libfabric and mlnx-ofed-all rpm’s along side each other in EL8. We can’t seem to find any documentation on why this flag has been set. Any explanation would be greatly appreciated here. I also don’t see that the mlnx-ofed-all EL8 RPM contains any of the libfabric commands.
[root@ssc-vm-g4-rhev4-0151 ~]# rpm -q --obsoletes ./mlnx-ofed-all-5.4-1.0.3.0.rhel8.4.noarch.rpm | grep libfabric
warning: ./mlnx-ofed-all-5.4-1.0.3.0.rhel8.4.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 6224c050: NOKEY
libfabric
[root@ssc-vm-g4-rhev4-0151 ~]#
[root@ssc-vm-g4-rhev4-0151 ~]# dnf --setopt=obsoletes=0 install libfabric
Updating Subscription Management repositories.
mlnx_ofed_rhel8.4 24 kB/s | 2.1 kB 00:00
puppet6-el8 25 kB/s | 1.8 kB 00:00
EPEL-8 38 kB/s | 2.8 kB 00:00
Rocky Linux 8 - BaseOS 39 kB/s | 2.4 kB 00:00
Rocky Linux 8 - AppStream 42 kB/s | 2.8 kB 00:00
Rocky Linux 8 - Extras 34 kB/s | 2.1 kB 00:00
Rocky Linux 8 - PowerTools 45 kB/s | 2.8 kB 00:00
Rocky Linux 8 - ResilientStorage 37 kB/s | 2.4 kB 00:00
Error:
Problem: problem with installed package mlnx-ofed-all-5.4-1.0.3.0.rhel8.4.noarch
- installed package mlnx-ofed-all-5.4-1.0.3.0.rhel8.4.noarch obsoletes libfabric provided by libfabric-1.12.1-1.el8.x86_64
- package mlnx-ofed-all-5.4-1.0.3.0.rhel8.4.noarch obsoletes libfabric provided by libfabric-1.12.1-1.el8.x86_64
- cannot install the best candidate for the job
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@ssc-vm-g4-rhev4-0151 ~]#
Let me know if I can provide any more details or information. Appreciate the time!