
この質問をたくさん受けましたが、誰の答えも私には役に立ちませんでした。
これは私が数時間働いたバグです。
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
cmake : Depends: libcurl3 (>= 7.16.2) but it is not installable
imagemagick-6.q16 : Depends: libmagickcore-6.q16-2 (>= 8:6.8.8.2) but it is not installable
Depends: libmagickwand-6.q16-2 (>= 8:6.8.8.2) but it is not installable
recommends: libmagickcore-6.q16-2-extra
prince : Depends: libcurl3 (>= 7.16.2) but it is not installable
vlc : Depends: vlc-plugin-base (= 3.0.7-1) but it is not going to be installed
Depends: vlc-plugin-qt (= 3.0.7-1) but it is not going to be installed
Depends: vlc-plugin-vedio-output (= 3.0.7-1) but it is not going to be installed
Recommends: vlc-l10n (= 3.0.7-1) but it is not going to be installed
Recommends: vlc-plugin-notify (= 3.0.7-1) but it is not going to be installed
Recommends: vlc-plugin-samba (= 3.0.7-1) but it is not going to be installed
Recommends: vlc-plugin-skins2 (= 3.0.7-1) but it is not going to be installed
Recommends: vlc-plugin-video-splitter (= 3.0.7-1) but it is not going to be installed
Recommends: vlc-plugin-visualization (= 3.0.7-1) but it is not going to be installed
xserver-xorg: Depends: xserver-xorg-video-all but it is not going to be installed or
xorg-driver-video
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
これは私のものですsource.list
:
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
# Security updates
deb http://security.debian.org/ buster/updates main contrib non-free
deb-src http://security.debian.org/ buster/updates main contrib non-free
deb http://security.debian.org/debian-security buster/updates main
## Debian mirror
# Base repository
#deb http://ftp.debian.org/debian stretch main contrib non-free
#deb http://ftp.de.debian.org/debian buster main
deb http://ftp.debian.org/debian buster main contrib non-free
deb-src http://ftp.debian.org/debian buster main contrib non-free
# Stable updates
deb http://ftp.debian.org/debian buster-updates main contrib non-free
deb-src http://ftp.debian.org/debian buster-updates main contrib non-free
# Stable backports
deb http://ftp.debian.org/debian buster-backports main contrib non-free
deb-src http://ftp.debian.org/debian buster-backports main contrib non-free
私は努力しましたが、apt-get clean
何もsudo apt --fix-broken install
役に立ちませんでした。 source.listのリポジトリを1つずつコメントアウトして実行してみましたが、apt-get update && apt-get upgrade
同じエラーが発生しました。
実行しsudo apt-get install -f
たり、sudo apt --fix-broken install
他のエラーメッセージがコンソールに表示され始めた場合
E: Error, pkgProblemResolver::Resolve generated breaks, this may be cause by help packages
走るsudo dpkg --get-selections | grep hold
ものには何も見えません。
どんなアイデアがありますか?
答え1
質問作成者は、コメントで次の解決策を提供しました。
おそらく誰かに役立つでしょう。 .dllを使用してすべての問題の依存関係を削除して問題を解決しました
dpkg --remove --purge <name>
。それからapt-get update && apt-get upgrade
また走った。