Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
665 views
in Technique[技术] by (71.8m points)

gdal - "Error: conflicting requests" in centos 8 package installation

I am trying to install the gdal on my centos 8. I tried with following command

sudo yum install gdal

And it through me following error,

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)

Please, anyone, suggest to me, how to solve this error?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can enable the powertools repository to solve this issue,

sudo yum install dnf-plugins-core
sudo yum config-manager --set-enabled powertools

Now you can install the gdal by following code,

sudo yum install gdal-devel

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...