Mods - 这不是交叉帖子,请不要将其标记为交叉帖子。我没有收到有关 GIS 的任何答复 -https://gis.stackexchange.com/questions/120759/with-ubuntu-14-04-i-get-errors-related-to-qgis-when-i-type-sudo-apt-get-dist-upg
我的问题是,最近 QGIS 2.4 和 Ubuntu 14.04 出现了此问题。当我输入时,sudo apt-get dist-upgrade
我收到这些消息 - 任何建议都将不胜感激。
Do you want to continue? [Y/n] Setting up qgis-providers (2.6.0+trusty1) ...
/usr/lib/qgis/crssync: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
dpkg: error processing package qgis-providers (--configure):
subprocess installed post-installation script returned error exit status 127
dpkg: dependency problems prevent configuration of qgis:
qgis depends on qgis-providers (= 2.6.0+trusty1); however:
Package qgis-providers is not configured yet.
dpkg: error processing package qgis (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qgis-plugin-globe:
qgis-plugin-globe depends on qgis (= 2.6.0+trusty1); however:
Package qgis is not configured yet.
dpkg: error processing package qgis-plugin-globe (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qgis-plugin-grass:
qgis-plugin-grass depends on qgis (= 2.6.0+trusty1); however:
Package qgis is not configured yet.
dpkg: error processing package qgis-plugin-grass (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
Errors were encountered while processing:
qgis-providers
qgis
qgis-plugin-globe
qgis-plugin-grass
E: Sub-process /usr/bin/dpkg returned an error code (1)
答案1
/usr/lib/qgis/crssync: error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
您缺少此共享库。您应该运行apt-get -f install
以纠正问题。这可能会导致 qgis 包被卸载。我不确定你从哪里得到这些地理信息系统软件包,但它们似乎是用 14.04 中没有的新库构建的(或者在你可能安装它们的存档中),这导致了qgis-提供商包失败。