Não é possível instalar nada no Kali Linux

0

Sempre que tento instalar qualquer coisa no Kali Linux, recebo o mesmo erro. Por exemplo, executando sudo apt-get -f install alien outputs:

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:
 alien : Depends: debhelper (>= 7) but it is not going to be installed
         Depends: rpm (>= 2.4.4-2) but it is not going to be installed
         Depends: rpm2cpio but it is not going to be installed
 tcpdump : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
 tshark : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
 wireshark-common : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
 wireshark-qt : Depends: libpcap0.8 (>= 1.5.1) but 1.4.0-2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
    
por Gigi Aptsiauri 09.09.2016 / 08:36

1 resposta

2

Tente fazer o que a saída diz. Em vez de executar sudo apt-get -f install alien para corrigir problemas apenas com o tipo de pacote alienígena:

sudo apt-get -f install  

(sem pacotes)

Da saída de man apt-get

-f, --fix-broken  
    Fix; attempt to correct a system with broken dependencies in place. 
    This option, when used with install/remove, can omit any packages  
    to permit APT to deduce a likely solution.
    
por 09.09.2016 / 08:42