Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
840 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?

question from:https://stackoverflow.com/questions/65661250/error-conflicting-requests-in-centos-8-package-installation

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

1 Reply

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...