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)
編集:
新しいパッケージを更新しようとしていたので、無効にする必要がありました。curlcity-fan
にのみ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=*
これが誰かの役に立つことを願います。