Après apt-get update && apt-get dist-upgrade, il semble que mon installation soit endommagée.
root@l1k:/home/kali# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
default-jdk : Depends: default-jdk-headless (= 2:1.8-59) but it is not installed
Depends: openjdk-8-jdk
default-jre : Depends: openjdk-8-jre
Recommends: default-Java-plugin but it is not installed
default-jre-headless : Depends: openjdk-8-jre-headless
gir1.2-panelapplet-4.0 : Depends: libpanel-applet-4-0 (>= 3.4.1) but it is not installable
icedtea-6-jre-cacao : Depends: openjdk-6-jre-headless (= 6b35-1.13.7-1~deb7u1)
libfarstream-0.1-0 : Depends: gstreamer0.10-plugins-good (>= 0.10.29) but it is not installable
libpulse-mainloop-glib0 : Depends: libpulse0 (= 11.1-3) but 2.0-6.1 is installed
libpython2.7 : Depends: libpython2.7-stdlib (= 2.7.14-2) but 2.7.9-2 is installed
libpython2.7-dev : Depends: libpython2.7-stdlib (= 2.7.14-2) but 2.7.9-2 is installed
libtagc0 : Depends: libtag1c2a (>= 1.6-2~) but it is not installable
openjdk-6-jre-lib : Depends: openjdk-6-jre-headless (>= 6b27)
pulseaudio-utils : Depends: libpulse0 (= 11.1-3) but 2.0-6.1 is installed
Depends: libpulsedsp but it is not installed
python2.7-dev : Depends: python2.7 (= 2.7.14-2) but 2.7.9-2 is installed
vlc-nox : Depends: libtag1c2a (>= 1.7) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
J'ai donc essayé d'installer certaines de ces dépendances mais
root@l1k:/home/kali# apt-get purge default-jdk-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'default-jdk-headless' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
default-jdk : Depends: default-jdk-headless (= 2:1.8-59) but it is not going to be installed
Depends: openjdk-8-jdk
default-jre : Depends: openjdk-8-jre
Recommends: default-Java-plugin but it is not going to be installed
default-jre-headless : Depends: openjdk-8-jre-headless
gir1.2-panelapplet-4.0 : Depends: libpanel-applet-4-0 (>= 3.4.1) but it is not installable
icedtea-6-jre-cacao : Depends: openjdk-6-jre-headless (= 6b35-1.13.7-1~deb7u1)
libfarstream-0.1-0 : Depends: gstreamer0.10-plugins-good (>= 0.10.29) but it is not installable
libpulse-mainloop-glib0 : Depends: libpulse0 (= 11.1-3) but 2.0-6.1 is to be installed
libpython2.7 : Depends: libpython2.7-stdlib (= 2.7.14-2) but 2.7.9-2 is to be installed
libpython2.7-dev : Depends: libpython2.7-stdlib (= 2.7.14-2) but 2.7.9-2 is to be installed
libtagc0 : Depends: libtag1c2a (>= 1.6-2~) but it is not installable
openjdk-6-jre-lib : Depends: openjdk-6-jre-headless (>= 6b27)
pulseaudio-utils : Depends: libpulse0 (= 11.1-3) but 2.0-6.1 is to be installed
Depends: libpulsedsp but it is not going to be installed
python2.7-dev : Depends: python2.7 (= 2.7.14-2) but 2.7.9-2 is to be installed
vlc-nox : Depends: libtag1c2a (>= 1.7) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Même l'installation de nouveaux paquets n'est pas possible.
root@l1k:/home/kali# apt install openjdk-8-jdk-headless
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
default-jdk : Depends: default-jdk-headless (= 2:1.8-59) but it is not going to be installed
Depends: openjdk-8-jdk
default-jre : Depends: openjdk-8-jre
Recommends: default-Java-plugin but it is not going to be installed
default-jre-headless : Depends: openjdk-8-jre-headless
gir1.2-panelapplet-4.0 : Depends: libpanel-applet-4-0 (>= 3.4.1) but it is not installable
icedtea-6-jre-cacao : Depends: openjdk-6-jre-headless (= 6b35-1.13.7-1~deb7u1)
libfarstream-0.1-0 : Depends: gstreamer0.10-plugins-good (>= 0.10.29) but it is not installable
libpulse-mainloop-glib0 : Depends: libpulse0 (= 11.1-3) but 2.0-6.1 is to be installed
libpython2.7 : Depends: libpython2.7-stdlib (= 2.7.14-2) but 2.7.9-2 is to be installed
libpython2.7-dev : Depends: libpython2.7-stdlib (= 2.7.14-2) but 2.7.9-2 is to be installed
libtagc0 : Depends: libtag1c2a (>= 1.6-2~) but it is not installable
openjdk-6-jre-lib : Depends: openjdk-6-jre-headless (>= 6b27)
openjdk-8-jdk-headless : Depends: openjdk-8-jre-headless (= 8u151-b12-1)
pulseaudio-utils : Depends: libpulse0 (= 11.1-3) but 2.0-6.1 is to be installed
Depends: libpulsedsp but it is not going to be installed
python2.7-dev : Depends: python2.7 (= 2.7.14-2) but 2.7.9-2 is to be installed
vlc-nox : Depends: libtag1c2a (>= 1.7) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Comment réparer cette erreur?
J'ai ce problème et j'ai résolu avec
Sudo apt-get -f install
J'espère résoudre votre problème