centos 8에서 깨진 Dnf 업데이트

centos 8에서 깨진 Dnf 업데이트

dnf updateCentos 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최신 패키지를 업데이트하려고 했기 때문에 비활성화해야 했습니다. 컬에만 city-fan 저장소가 필요합니다.

답변1

결국 city-fan 저장소를 활성화했지만 컬만 업데이트하도록 허용했습니다. /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=*

이것이 누군가에게 도움이 되기를 바랍니다.

관련 정보