![오류: centos 8 패키지 설치 시 요청 충돌](https://rvso.com/image/762143/%EC%98%A4%EB%A5%98%3A%20centos%208%20%ED%8C%A8%ED%82%A4%EC%A7%80%20%EC%84%A4%EC%B9%98%20%EC%8B%9C%20%EC%9A%94%EC%B2%AD%20%EC%B6%A9%EB%8F%8C.png)
Centos 8에 설치하려고 합니다 gdal
. 다음 명령을 사용해 보았습니다.
sudo yum install gdal-libs
그리고 그것은 나에게 다음과 같은 오류를 던졌습니다.
Last metadata expiration check: 0:05:58 ago on Sun 10 Jan 2021 10:52:18 PM EST.
Error:
Problem: conflicting requests
- nothing provides libdap.so.25()(64bit) needed by gdal-libs-3.0.4-5.el8.x86_64
- nothing provides libdapclient.so.6()(64bit) needed by gdal-libs-3.0.4-5.el8.x86_64
- nothing provides libdapserver.so.7()(64bit) needed by gdal-libs-3.0.4-5.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
누구든지 이 오류를 해결하는 방법을 알려주십시오.
답변1
powertools 저장소를 활성화하여 이 문제를 해결할 수 있습니다.
sudo yum install dnf-plugins-core
sudo yum config-manager --set-enabled powertools
이제 다음 코드를 사용하여 gdal을 설치할 수 있습니다.
sudo yum install gdal-devel
답변2
GDAL을 설치하려면 다음이 필요합니다.둘 다EPEL(GDAL 포함) 및 PowerTools(일부 종속성 포함)
해당 저장소를 설치하여 EPEL을 활성화할 수 있습니다.
dnf -y install epel-release
PowerTools는 기본 CentOS에 포함된 저장소입니다. 다음과 같이 활성화할 수 있습니다.
dnf config-manager --set-enabled powertools
이제 GDAL을 성공적으로 설치할 수 있습니다.