web-dev-qa-db-ja.com

満たされていない依存関係。パッケージなしで 'apt --fix-broken install'を試してください(またはソリューションを指定してください)

apt-get update && apt-get dist-upgradeの後、インストールが壊れているようです。

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).

したがって、これらの依存関係のいくつかをインストールしようとしましたが

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).

新しいパッケージをインストールすることもできません。

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).

このエラーを修正するには?

1
Imme22009

私はこの問題を抱えています

Sudo apt-get -f install

あなたの問題を解決したいと思います

1
Mohammad Jalali