RHEL 6:更新 qgis rpm 的依赖项失败

RHEL 6:更新 qgis rpm 的依赖项失败

我有一个比我当前版本更新版本的 qgis 的 rpm。

在这个命令上:sudo rpm --upgrade qgis-2.18.2-4.fc26.i686.rpm,我收到错误:

error: Failed dependencies:
libQtCore.so.4 is needed by qgis-2.18.2-4.fc26.i686
libQtGui.so.4 is needed by qgis-2.18.2-4.fc26.i686
libQtNetwork.so.4 is needed by qgis-2.18.2-4.fc26.i686
libQtScript.so.4 is needed by qgis-2.18.2-4.fc26.i686
libQtSql.so.4 is needed by qgis-2.18.2-4.fc26.i686
libQtSvg.so.4 is needed by qgis-2.18.2-4.fc26.i686
libQtWebKit.so.4 is needed by qgis-2.18.2-4.fc26.i686
libQtXml.so.4 is needed by qgis-2.18.2-4.fc26.i686
libgdal.so.20 is needed by qgis-2.18.2-4.fc26.i686
libgeos_c.so.1 is needed by qgis-2.18.2-4.fc26.i686
libgsl.so.19 is needed by qgis-2.18.2-4.fc26.i686
libgslcblas.so.0 is needed by qgis-2.18.2-4.fc26.i686
libpq.so.5 is needed by qgis-2.18.2-4.fc26.i686
libproj.so.12 is needed by qgis-2.18.2-4.fc26.i686
libqca.so.2 is needed by qgis-2.18.2-4.fc26.i686
libqextserialport-1.2.so.1 is needed by qgis-2.18.2-4.fc26.i686
libqjson.so.0 is needed by qgis-2.18.2-4.fc26.i686
libqscintilla2.so.12 is needed by qgis-2.18.2-4.fc26.i686
libqwt.so.6 is needed by qgis-2.18.2-4.fc26.i686
libqwtpolar.so.1 is needed by qgis-2.18.2-4.fc26.i686
libspatialindex.so.4 is needed by qgis-2.18.2-4.fc26.i686
libspatialite.so.7 is needed by qgis-2.18.2-4.fc26.i686
libstdc++.so.6(CXXABI_1.3.8) is needed by qgis-2.18.2-4.fc26.i686
libstdc++.so.6(GLIBCXX_3.4.15) is needed by qgis-2.18.2-4.fc26.i686
libstdc++.so.6(GLIBCXX_3.4.20) is needed by qgis-2.18.2-4.fc26.i686
libstdc++.so.6(GLIBCXX_3.4.21) is needed by qgis-2.18.2-4.fc26.i686
qca-ossl is needed by qgis-2.18.2-4.fc26.i686

执行此操作时sudo yum update qt-devel,我得到 Package 1:qt-devel-4.6.2-28.el6_5.x86_64 已安装且最新版本

我该如何解决这些问题?

答案1

您正在尝试在 64 位 RHEL 6 上安装为 i686(32 位 Intel)构建的 Fedora 26 软件包。由于它会引入很长的依赖项列表(正如您所见),这将不起作用,即使您确实启用了适当的 FC26 存储库。

最好的选择是尝试在 RHEL 6(或 CentOS 6)上从源 rpm 重建软件包。

相关内容