
執行時:
yum update
在我的 CentOS 7 伺服器上,我收到這個奇怪的錯誤:
Error: Package: gdal-1.11.4-12.rhel7.x86_64 (pgdg93)
Requires: libproj.so.12()(64bit) Error: Package: gdal-libs-1.11.4-12.rhel7.x86_64 (pgdg93)
Requires: libproj.so.12()(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest
我以前從未見過這個錯誤。我研究了一下,GDAL 是地理空間資料抽象庫。
除了標準的 CentOS 儲存庫之外,我還使用 EPEL 和 Postgres 9.3 官方儲存庫。
我libproj
找不到pkgs.org。
關於如何解決這個問題有什麼想法嗎?
答案1
看起來像是 Postgres 儲存庫中的依賴問題,有人提交了一個錯誤,其中包含完全相同的訊息:http://www.postgresql-archive.org/BUG-15037-gdal-libs-1-11-4-12-updates-require-proj-unavailable-version-td6003637.html
您可能想要回覆錯誤報告以表明您也受到了影響。
在他們修復此問題之前,您可以使用:
yum update --exclude=gdal