首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >由于未满足的依赖关系,我无法再安装任何东西。

由于未满足的依赖关系,我无法再安装任何东西。
EN

Ask Ubuntu用户
提问于 2017-05-03 22:32:20
回答 1查看 1.1K关注 0票数 0

在无法在插件管理器中找到插件之后,我尝试重新安装QGIS。现在看来我不能再安装任何东西了。不知怎么的,我的gedit也不见了,我不能再安装它了.当我试图安装:

代码语言:javascript
复制
sudo apt-get install qgis python-qgis 

我得到:

代码语言:javascript
复制
Reading package lists... Done
Building dependency tree       
Reading state information... Done
qgis is already the newest version.
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:
 python-qgis : Depends: python-qt4 but it is not going to be installed
               Depends: python-sip but it is not going to be installed
               Depends: python-qgis-common (= 2.0.1-2build2) but it is not going to be installed
               Depends: python-psycopg2 but it is not going to be installed
               Depends: python-qscintilla2 but it is not going to be installed
               Depends: python-pyspatialite but it is not going to be installed
               Depends: python:any (>= 2.7.1-0ubuntu2)
               Depends: sip-api-11.0
E: Unable to correct problems, you have held broken packages.

我在论坛上尝试了大多数建议,但到目前为止没有起到任何作用。不幸的是,我对Linux也没有经验。我会很高兴得到一些帮助!

EN

回答 1

Ask Ubuntu用户

发布于 2017-05-04 00:36:29

我的建议是运行sudo apt-get -f install。它应该沿着依赖树走下去,并安装任何丢失或损坏的包。如果这不起作用,请通过运行命令:sudo apt-get install python-qt4 python-sip python-qgis-common python-psycopg2 python-qscintilla2 python-pyspatialite python:any sip-api-11.0来手动安装包。如果这样做失败了,那么这个系统就有问题了。最后,我建议通过运行sudo do-release-upgrade将版本升级到17.04,并解决问题。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/911600

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档