Apt-get não instalando dependências

1

Quando eu corro:

sudo apt-get install libcurl4-openssl-dev

Eu recebo o erro:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 libcurl4-openssl-dev : Depends: libcurl3 (= 7.35.0-1ubuntu2) but 7.35.0-1ubuntu2.8 is to be installed
                        Depends: libkrb5-dev but it is not going to be installed
                        Depends: librtmp-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Se eu tentar instalar cada uma dessas dependências manualmente, isso me dará um erro similar para outra dependência da dependência ... dependency hell, que achei que o apt-get foi criado para evitar.

Por que não está instalando as dependências automaticamente?

Estou executando o Ubuntu 14.04.

    
por Cerin 15.09.2016 / 20:05

1 resposta

0

Quando executo sudo apt-get install libcurl4-openssl-dev , obtenho o seguinte:

$ sudo apt-get install libcurl4-openssl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libcurl3
Suggested packages:
  libcurl4-doc libcurl3-dbg libidn11-dev libkrb5-dev libldap2-dev librtmp-dev
  libssh2-1-dev libssl-dev pkg-config zlib1g-dev
The following NEW packages will be installed:
 libcurl3 libcurl4-openssl-dev
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 639 kB of archives.
After this operation, 1,745 kB of additional disk space will be used.
Do you want to continue? [Y/n] 

Eu suspeito que seus "pacotes quebrados" podem ser o seu problema. Eu correria sudo apt-get autoremove e sudo apt-get install -f para ver se você tem alguma coisa atrasada. em seguida, execute sua instalação novamente.

    
por thesoundman20 15.09.2016 / 22:53