每当我尝试安装任何东西(包括系统更新)时,我都会收到此错误:
The following packages have unmet dependencies:
gstreamer1.0-plugins-bad : Depends: libgstreamer-plugins-bad1.0-0 (= 1.16.2-2.1+b1) but 1.14.5-0ubuntu1~18.04.1 is installed
Depends: libgstreamer-plugins-base1.0-0 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-plugins-good : Depends: libgstreamer-plugins-base1.0-0 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-plugins-good:i386 : Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-x : Depends: libgstreamer-plugins-base1.0-0 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-x:i386 : Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
每当我运行时apt --fix-broken install
都会出现这个:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
gstreamer1.0-plugins-bad : Depends: libgstreamer-plugins-bad1.0-0 (= 1.16.2-2.1+b1) but 1.14.5-0ubuntu1~18.04.1 is installed
Depends: libgstreamer-plugins-base1.0-0 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-plugins-good : Depends: libgstreamer-plugins-base1.0-0 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-plugins-good:i386 : Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-x : Depends: libgstreamer-plugins-base1.0-0 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
gstreamer1.0-x:i386 : Depends: libgstreamer-plugins-base1.0-0:i386 (>= 1.16.2) but 1.14.5-0ubuntu1~18.04.1 is installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
我也无法打开任何系统应用程序,例如系统设置系统更新程序和除了谷歌、终端和 wireshark 之外的大多数其他软件。
我已经运行过了apt-cache policy gstreamer1.0-plugins-bad
,最终得到了这个:
$ apt-cache policy gstreamer1.0-plugins-bad
gstreamer1.0-plugins-bad:
Installed: 1.16.2-2.1+b1
Candidate: 1.18.0-2+b1
Version table:
1.18.0-2+b1 500
500 http://http.kali.org/kali kali-rolling/main amd64 Packages
*** 1.16.2-2.1+b1 100
100 /var/lib/dpkg/status
1.14.5-0ubuntu1~18.04.1 500
500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
1.14.0-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages