Centos

軟體包 libibumad 已被 mlnx-ofa_kernel 淘汰

  • January 9, 2019

我想更新在 CentOS 7 上執行的 KVM 虛擬化套件 (VMmanager KVM)。

我得到的錯誤:

Package libibumad-17.2-3.el7.x86_64 is obsoleted by mlnx-ofa_kernel-4.3-OFED.4.3.1.0.1.1.g8509e41.3.rhel7u4.x86_64 which is already installed
--> Finished Dependency Resolution
Error: Package: 10:qemu-kvm-ev-2.12.0-18.el7_6.1.1.x86_64 (centos-qemu-ev)
          Requires: libibumad.so.3()(64bit)
          Available: libibumad-17.2-3.el7.x86_64 (base)
              libibumad.so.3()(64bit)

如果我在 yum (–setopt=obsoletes=0) 中禁用過時檢查,我會得到:

Removing rdma-core.x86_64 0:17.2-3.el7 - u due to obsoletes from installed mlnx-ofa_kernel-4.3-OFED.4.3.1.0.1.1.g8509e41.3.rhel7u4.x86_64
Removing libibumad.x86_64 0:17.2-3.el7 - u due to obsoletes from installed mlnx-ofa_kernel-4.3-OFED.4.3.1.0.1.1.g8509e41.3.rhel7u4.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package libibumad.x86_64 0:17.2-3.el7 will be installed
--> Processing Dependency: libibumad.so.3()(64bit) for package: 10:qemu-kvm-ev-2.12.0-18.el7_6.1.1.x86_64
---> Package rdma-core.x86_64 0:17.2-3.el7 will be installed
--> Finished Dependency Resolution
Error: Package: 10:qemu-kvm-ev-2.12.0-18.el7_6.1.1.x86_64 (centos-qemu-ev)
          Requires: libibumad.so.3()(64bit)
          Available: libibumad-17.2-3.el7.x86_64 (base)
              libibumad.so.3()(64bit)

我不確定下一步該怎麼做。你能推荐一些東西嗎?沒有更新版本的 mlnx-ofa_kernel 或 libibumad。

同樣的問題,這對我有用:

在 mellanox 官網下載最新的 .tar.gz 包

http://www.mellanox.com/page/products_dyn?product_family=26

tar -xf MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64.tgz

添加一個新的本地儲存庫,指向解壓包的 RPMS 文件夾

vim /etc/yum.repos.d/local.repo

$$ local $$

name=本地倉庫

baseurl=file:///root/MLNX_OFED_LINUX-4.5-1.0.1.0-rhel7.6-x86_64/RPMS

enabled=1

gpgcheck=0

執行更新,享受

百勝更新

引用自:https://unix.stackexchange.com/questions/487295