Problema de instalação do Gnome Debian

0

Com o comando

sudo apt-get install gnome-core -f

Eu tenho

The following packages have unmet dependencies:
          gnome-core : Depends: nautilus (>= 3.22) but it is not going to be installed
                       Depends: gnome-sushi (>= 3.20) but it is not going to be installed
          E: Unable to correct problems, you have held broken packages.

Então eu tentei:

sudo apt-get install nautilus -f

Eu tenho:

The following packages have unmet dependencies:
        nautilus : Depends: libnautilus-extension1a (= 3.22.3-1) but it is not going to be installed
                   Recommends: gnome-sushi but it is not going to be installed
        E: Unable to correct problems, you have held broken packages.

Depois que eu tentei:

sudo apt-get install gnome-sush -f

Eu tenho:

The following packages have unmet dependencies:
        gnome-sushi : Depends: nautilus (>= 3.2) but it is not going to be installed
        E: Unable to correct problems, you have held broken packages.

Por fim, tentei:

sudo apt-get install libnautilus-extension1a -f

E eu obtive:

libnautilus-extension1a is already the newest version (1:3.14.2-0ubuntu9).

Eu também tentei limpar usando ( sudo está faltando porque eu era root):

apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y

source.list

deb http://http.kali.org/kali kali-rolling main contrib non-free

deb http://security.debian.org/debian-security wheezy/updates main

deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main

deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main

SO

4.9.0-kali4-amd64 #1 SMP Debian 4.9.25-1kali1 (2017-05-04) x86_64 GNU/Linux

    
por Hoper 15.05.2017 / 15:51

2 respostas

2

Você não está usando o Debian, mas Kali . Então, por algum motivo, você está tendo este pacote libnautilus-extension1a 1:3.14.2-0ubuntu9.1 do Ubuntu Vivid, enquanto o Kali-rolling (& o Stretch) tem 3.22.3-1 .

Você poderia usar

sudo dpkg --remove --force-remove-reinstreq --force-hold libnautilus-extension1a

para removê-lo. De man dpkg :

hold A package marked to be on hold is not handled by dpkg, unless forced to do that with option --force-hold.

reinst-required A package marked reinst-required is broken and requires reinstallation. These packages cannot be removed, unless forced with option --force-remove-reinstreq.

Em seguida, você pode sudo apt-get update e tentar reinstalar suas fontes normais do apt.

    
por 15.05.2017 / 16:22
3

Você realizou pacotes quebrados porque você tem um mix sources.list : wheezy debian, ubuntu trusty, preciso e rolando kali

Edite seu sources.list , mantenha apenas a seguinte linha:

deb http://http.kali.org/kali kali-rolling main contrib non-free

Atualize seu pacote

apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get -f install

Em seguida, instale o desktop do gnome:

apt-get install gnome-core kali-defaults kali-root-login desktop-base
    
por 15.05.2017 / 19:14