Instalando o Nginx no DigitalOcean Debian 8.5 falha com “dependências não atendidas”

1

Estou tentando instalar o Nginx-full na minha máquina Debian 8.5 x64, hospedada pela DigitalOcean assim:

sudo apt-get install nginx-full

mas estou recebendo o seguinte erro:

~>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:
~>atom :
Depends: gconf2 but it is not going to be installed
Depends: gconf-service but it is not going to be installed
Depends: libnotify4 but it is not going to be installed
Depends: libxtst6 but it is not going to be installed
Depends: libnss3 but it is not going to be installed
Depends: gvfs-bin but it is not going to be installed
Depends: xdg-utils but it is not going to be installed
~>nginx-full : Depends: nginx-common (= 1.6.2-5+deb8u2) but it is not going to be installed
Depends: libgd3 (>= 2.1.0~alpha~) but it is not going to be installed
~>E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a > solution).

Eu entendo qual é o problema aqui, é a solução que está me incomodando. Existe uma maneira simples de dizer "ei, por favor, instalar todos estes" ou não realmente? :)

    
por Alex Starbuck 02.08.2016 / 14:29

1 resposta

3

apt-get install -f sem especificar nenhum nome de pacote deve corrigir seus problemas e instalar as dependências necessárias.

    
por 03.08.2016 / 10:59

Tags