grive-tools : 의존 : libcurl4-openssl-dev 그러나 설치되지 않을 것


2

최근에 나는이 웹 사이트의 지침에 따라 Grive and Grive Tools와 함께 Ubuntu Google Drive Client의 Grive Tools를 설치하려고했습니다 . 내가 명령을 적용 할 때까지 모든 것이 완벽하게 작동했습니다 sudo apt-get install grive-tools. 다음과 같은 오류가 나타납니다.

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

나는 온라인을 많이 검색했으며 많은 사람들 apt-get -f install이 문제를 해결할 것이라고 말했습니다. 예를 들어 Ubuntu 14.04에 grive 도구를 설치할 수 없습니다 .

나는 모든 제안 된 솔루션을 시도했으며 대부분이 오류가 발생했습니다.

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.

답변:


2

그의 질문에서 Thanos의 대답

내 문제에 대한 유일한 해결책은 여기에서 찾을 수 있습니다 . PPA를 추가 한 후 충족되지 않은 종속성을 어떻게 해결합니까? .

다음 명령을 적용했습니다.

sudo apt-get update
sudo apt-get install aptitude

그때,

sudo aptitude install grive-tools

마지막 단계로 종속성을 충족시키기 위해 일부 패키지를 다운 그레이드해야했습니다. 프로세스 샘플은 다음에 제공됩니다.

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]
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.