首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Pip和python安装工具安装错误在Ubuntu 16.04中带来了libwebkit2gtk-4.0-37的依赖性

Pip和python安装工具安装错误在Ubuntu 16.04中带来了libwebkit2gtk-4.0-37的依赖性
EN

Ask Ubuntu用户
提问于 2017-03-20 09:33:25
回答 1查看 763关注 0票数 0
代码语言:javascript
复制
>sudo apt install python-pip
[sudo] password for xxxxx: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 gir1.2-webkit2-4.0 : Depends: libwebkit2gtk-4.0-37 (>= 2.10.0) but it is not going to be installed
 librhythmbox-core9 : Depends: libwebkit2gtk-4.0-37 (>= 2.5.3) but it is not going to be installed
 libwebkit2gtk-4.0-37-gtk2 : Depends: libwebkit2gtk-4.0-37 (= 2.14.5-0ubuntu0.16.04.1) but it is not going to be installed
 libyelp0 : Depends: libwebkit2gtk-4.0-37 (>= 2.8.1) but it is not going to be installed
 python-pip : Depends: python-pip-whl (= 8.1.1-2ubuntu0.4) but it is not going to be installed
              Recommends: python-all-dev (>= 2.6) but it is not going to be installed
              Recommends: python-setuptools but it is not going to be installed
              Recommends: python-wheel but it is not going to be installed
 shotwell : Depends: libwebkit2gtk-4.0-37 (>= 2.5.3) but it is not going to be installed
 unity-control-center : Depends: libwebkit2gtk-4.0-37 (>= 2.5.3) but it is not going to be installed
 yelp : Depends: libwebkit2gtk-4.0-37 (>= 2.5.3) but it is not going to be installed
 zenity : Depends: libwebkit2gtk-4.0-37 (>= 2.5.3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

我恳请协助我解决这个问题。我已经尝试过sudo自己安装依赖程序,但是我仍然会遇到同样的错误。

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2017-03-21 10:08:12

您需要运行以下命令才能正常工作:

代码语言:javascript
复制
sudo apt-get update
sudo apt-get install -f

您可能只是在没有运行apt-get update的情况下安装了操作系统,所以包的DB可能丢失了很多信息。运行update命令将解决您的问题。

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

https://askubuntu.com/questions/894857

复制
相关文章

相似问题

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