centos 8 上的破碎 Dnf 更新

centos 8 上的破碎 Dnf 更新

dnf update我在 centos 8 伺服器上執行操作時收到以下錯誤。我已經嘗試過以下操作:

dnf clean all
dnf distro-sync
dnf update --best --allowerasing
Last metadata expiration check: 0:02:15 ago on Sun 27 Dec 2020 09:00:12 AM EST.
Error:
 Problem: cannot install the best update candidate for package libgs-9.25-7.el8.x86_64
  - problem with installed package libgs-9.25-7.el8.x86_64
  - package libgs-9.25-7.el8.x86_64 requires libidn.so.11()(64bit), but none of the providers can be installed
  - package libgs-9.25-7.el8.x86_64 requires libidn.so.11(LIBIDN_1.0)(64bit), but none of the providers can be installed
  - cannot install the best update candidate for package libidn-1.34-5.el8.x86_64
  - cannot install both libidn-1.36-1.0.el8.x86_64 and libidn-1.34-5.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages)

編輯:

我不得不禁用它,city-fan因為它試圖更新較新的軟體包。

答案1

我最終啟用了 city-fan 存儲庫,但只允許它更新curl /etc/yum.repos.d/city-fan.repo

[CityFan]
name=City Fan Repo
baseurl=http://www.city-fan.org/ftp/contrib/yum-repo/rhel$releasever/$basearch/
enabled=1
gpgcheck=0
includepkgs=curl*
exclude=*

我希望這可以幫助別人。

相關內容