grive-tools: Depende: libcurl4-openssl-dev mas não será instalado

2

Recentemente eu tentei instalar o Grive Tools, seguindo as instruções deste site Cliente do Google Drive do Ubuntu com Grive e Grive Tools . Tudo funcionou perfeitamente até que cheguei ao ponto em que apliquei o comando sudo apt-get install grive-tools . O seguinte erro apareceu:

grive-tools : Depends: libcurl4-openssl-dev but it is not going to be installed

Eu procurei muito on-line e encontrei muitas pessoas dizendo que apt-get -f install resolveria o problema, por exemplo Não é possível instalar ferramentas grive no Ubuntu 14.04 .

Eu tentei todas as soluções sugeridas e, na maioria das vezes, acabei tendo esse erro:

The following packages have unmet dependencies:
 libgnutls-dev : Depends: libgnutls-openssl27 (= 2.12.23-12ubuntu2.1) but 3.2.16-1u1~ppa2 is installed.
 libcurl4-openssl-dev : Depends: libcurl3 (= 7.35.0-1ubuntu2.3) but 7.37.1-1u3~ppa1 is installed.
    
por Thanos 13.02.2015 / 01:04

1 resposta

2

resposta dada por Thanos em sua pergunta

A única solução para meu problema foi encontrada aqui. Como resolvo dependências não satisfeitas depois de adicionar um PPA? .

Eu apliquei os seguintes comandos:

sudo apt-get update
sudo apt-get install aptitude

então,

sudo aptitude install grive-tools

Como último passo, tive que rebaixar alguns pacotes para atender as dependências. Amostra de processo é fornecida em:

sudo aptitude install grive-tools
The following NEW packages will be installed:
  binutils-dev{a} comerr-dev{a} expect{a} grive-tools krb5-multidev{a} libboost-filesystem-dev{a} libboost-filesystem1.54-dev{a} 
  libboost-program-options-dev{a} libboost-program-options1.54-dev{a} libboost-system1.54-dev{a} libboost-test-dev{a} libboost-test1.54-dev{a} 
  libboost-test1.54.0{a} libboost1.54-dev{a} libcurl4-openssl-dev{ab} libexpat1-dev{a} libgcrypt11-dev{a} libgnutls-dev{ab} libgnutlsxx27{a} 
  libgpg-error-dev{a} libgssrpc4{a} libidn11-dev{a} libjson-c-dev{a} libjson0-dev{a} libkadm5clnt-mit9{a} libkadm5srv-mit9{a} libkdb5-7{a} libkrb5-dev{a} 
  libldap2-dev{a} libp11-kit-dev{a} librtmp-dev{a} libssl-dev{a} libssl-doc{a} libtasn1-6-dev{a} libyajl-dev{a} python-pyinotify{a} zlib1g-dev{a} 
0 packages upgraded, 37 newly installed, 0 to remove and 0 not upgraded.
Need to get 13.5 MB of archives. After unpacking 141 MB will be used.
The following packages have unmet dependencies:
 libgnutls-dev : Depends: libgnutls-openssl27 (= 2.12.23-12ubuntu2.1) but 3.2.16-1u1~ppa2 is installed.
 libcurl4-openssl-dev : Depends: libcurl3 (= 7.35.0-1ubuntu2.3) but 7.37.1-1u3~ppa1 is installed.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     grive-tools [Not Installed]                        
2)     libcurl4-openssl-dev [Not Installed]               
3)     libgnutls-dev [Not Installed]                      
4)     librtmp-dev [Not Installed]                        



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Install the following packages:                                                                              
1)     libcurl4-openssl-dev [7.35.0-1ubuntu2 (trusty)]                                                            
2)     libgnutls-dev [2.12.23-12ubuntu2 (trusty)]                                                                 
3)     libgnutlsxx27 [2.12.23-12ubuntu2 (trusty)]                                                                 

     Downgrade the following packages:                                                                            
4)     libcurl3 [7.37.1-1u3~ppa1 (now) -> 7.35.0-1ubuntu2 (trusty)]                                               
5)     libgnutls-openssl27 [3.2.16-1u1~ppa2 (now) -> 2.12.23-12ubuntu2 (trusty)]                                  
6)     libgnutls26 [2.12.23-12ubuntu2.1 (now, trusty-security, trusty-updates) -> 2.12.23-12ubuntu2 (trusty)]     
7)     libgnutls26:i386 [2.12.23-12ubuntu2.1 (now, trusty-security, trusty-updates) -> 2.12.23-12ubuntu2 (trusty)]



Accept this solution? [Y/n/q/?] Y
The following packages will be DOWNGRADED:
  libcurl3 libgnutls-openssl27 libgnutls26 libgnutls26:i386 
The following NEW packages will be installed:
  binutils-dev{a} comerr-dev{a} expect{a} grive-tools krb5-multidev{a} libboost-filesystem-dev{a} libboost-filesystem1.54-dev{a} 
  libboost-program-options-dev{a} libboost-program-options1.54-dev{a} libboost-system1.54-dev{a} libboost-test-dev{a} libboost-test1.54-dev{a} 
  libboost-test1.54.0{a} libboost1.54-dev{a} libcurl4-openssl-dev{a} libexpat1-dev{a} libgcrypt11-dev{a} libgnutls-dev{a} libgnutlsxx27{a} 
  libgpg-error-dev{a} libgssrpc4{a} libidn11-dev{a} libjson-c-dev{a} libjson0-dev{a} libkadm5clnt-mit9{a} libkadm5srv-mit9{a} libkdb5-7{a} libkrb5-dev{a} 
  libldap2-dev{a} libp11-kit-dev{a} librtmp-dev{a} libssl-dev{a} libssl-doc{a} libtasn1-6-dev{a} libyajl-dev{a} python-pyinotify{a} zlib1g-dev{a} 
0 packages upgraded, 37 newly installed, 4 downgraded, 0 to remove and 0 not upgraded.
Need to get 14.4 MB of archives. After unpacking 141 MB will be used.
Do you want to continue? [Y/n/?] Y
Get: 1 http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu/ trusty/main grive-tools all 1.12 [115 kB]
Get: 2 http://archive.ubuntu.com/ubuntu/ trusty/main libgnutls26 i386 2.12.23-12ubuntu2 [374 kB]
Get: 3 http://archive.ubuntu.com/ubuntu/ trusty/main libgnutls26 amd64 2.12.23-12ubuntu2 [394 kB]
Get: 4 http://archive.ubuntu.com/ubuntu/ trusty/main libgnutls-openssl27 amd64 2.12.23-12ubuntu2 [18.3 kB]
    
por bummi 13.04.2017 / 14:23