我已经将我的 Ubuntu 12.04 升级到 14,但现在我无法运行 QGIS。 我试过重新安装,安装 QGIS 2.4,QGIS 2.0 没有运气。
添加 Trusty 存储库(用于安装 QGIS 2.4)或常规 ubuntu 存储库(用于 2.0)后,我收到此错误消息。
看来我的包有问题: qgis提供者 qgis qgis-plugin-globe qgis插件草 我不知道我现在能做什么。 ¿也许再次降级到 Ubuntu 12?
讯息:
>
Setting up qgis-providers (2.0.1-2build2) ...
/usr/lib/qgis/crssync: error while loading shared libraries: libnetcdf.so.6: 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
Setting up qgis-common (2.0.1-2build2) ...
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of qgis:
qgis depends on qgis-providers (= 2.0.1-2build2); however:
Package qgis-providers is not configured yet.
>
dpkg: error processing package qgis (--configure):
dependency problems - leaving unconfigured
Setting up qgis-plugin-globe-common (2.0.1-2build2) ...
Setting up libosgearth2 (2.4.0+dfsg-6) ...
Setting up libosgearthsymbology2 (2.4.0+dfsg-6) ...
Setting up libosgearthfeatures2 (2.4.0+dfsg-6) ...
Setting up libosgearthannotation2 (2.4.0+dfsg-6) ...
Setting up libosgearthutil2 (2.4.0+dfsg-6) ...
Setting up libosgearthqt2 (2.4.0+dfsg-6) ...
dpkg: dependency problems prevent configuration of qgis-plugin-globe:
qgis-plugin-globe depends on qgis (= 2.0.1-2build2); however:
Package qgis is not configured yet.
>
dpkg: error processing package qgis-plugin-globe (--configure):
dependency problems - leaving unconfigured
Setting up qgis-plugin-grass-common (2.0.1-2build2) ...
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
dpkg: dependency problems prevent configuration of qgis-plugin-grass:
qgis-plugin-grass depends on qgis (= 2.0.1-2build2); however:
Package qgis is not configured yet.
>
dpkg: error processing package qgis-plugin-grass (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.1) ...
Errors were encountered while processing:
qgis-providers
qgis
qgis-plugin-globe
qgis-plugin-grass
Error in function:
Setting up qgis-providers (2.0.1-2build2) ...
/usr/lib/qgis/crssync: error while loading shared libraries: libnetcdf.so.6: 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.0.1-2build2); 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-grass:
qgis-plugin-grass depends on qgis (= 2.0.1-2build2); however:
Package qgis is not configured yet.
>
dpkg: error processing package qgis-plugin-grass (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of qgis-plugin-globe:
qgis-plugin-globe depends on qgis (= 2.0.1-2build2); however:
Package qgis is not configured yet.
>
dpkg: error processing package qgis-plugin-globe (--configure):
dependency problems - leaving unconfigured
请您参考如下方法:
我也无法安装,但确实找到了解决办法。
ubuntugis 项目提供了各种 FOSSGIS 软件包的更新版本,QGIS 就是其中之一。
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install qgis python-qgis qgis-plugin-grass
