在Ubuntu 14中安装QGIS

2024-04-29 15:54:18 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经把我的Ubuntu 12.04升级到14,现在我不能运行QGIS了。 我尝试过重新安装,安装了QGIS 2.4,QGIS 2.0,但没有成功。在

在添加Trusty存储库(安装QGIS 2.4)或常规ubuntu存储库(用于2.0)之后,我收到以下错误消息。在

似乎我的软件包有问题: qgis提供商 qgis系统 qgis插件地球仪 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

Tags: packageisconfigureerrordependencypluginsettinggrass
1条回答
网友
1楼 · 发布于 2024-04-29 15:54:18

我也无法安装,但确实找到了解决办法。在

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

相关问题 更多 >