无法在ubuntu 16.04上安装Qgis

问题描述 投票:2回答:1

安装Qgis时出现依赖性问题:我正在Ubuntu 16.04上安装qgis 2.14

sudo apt-get install qgis python-qgis qgis-plugin-grass
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-qgis is already the newest version (1:2.18.9+24xenial).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 qgis : Depends: python-qgis (= 1:2.14.15+24xenial) but 1:2.18.9+24xenial is to be installed
        Depends: qgis-providers (= 1:2.14.15+24xenial) but 1:2.18.9+24xenial is to be installed
        Depends: qgis-common (= 1:2.14.15+24xenial) but 1:2.18.9+24xenial is to be installed
        Recommends: qgis-plugin-globe but it is not going to be installed
 qgis-plugin-grass : Depends: qgis-plugin-grass-common (= 1:2.14.15+24xenial) but 1:2.18.9+24xenial is to be installed
                     Depends: qgis-provider-grass (= 1:2.14.15+24xenial) but 1:2.18.9+24xenial is to be installed
E: Unable to correct problems, you have held broken packages.
ubuntu qgis
1个回答
0
投票
我认为您应该删除与qgis相关的所有软件包。

sudo apt purge *qgis*

然后重新安装。它可能会帮助您。
© www.soinside.com 2019 - 2024. All rights reserved.