O erro de instalação de ferramentas pip e python traz a dependência da libwebkit2gtk-4.0-37 no Ubuntu 16.04

0
>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).

Eu peço gentilmente para ajudar de uma forma que eu possa resolver isso. Eu tentei sudo instalando as dependências por si só, mas ainda recebo o mesmo erro.

    
por Wanjila Abraham 20.03.2017 / 10:33

1 resposta

0

Você precisa executar os seguintes comandos para funcionar:

sudo apt-get update
sudo apt-get install -f

Você provavelmente acabou de instalar o sistema operacional sem rodar apt-get update , então o banco de dados dos pacotes provavelmente está perdendo muitas informações. Executar o comando update corrigirá seu problema.

    
por Dan 21.03.2017 / 11:08