Linux Debianは破損したパッケージの依存関係の問題を検出できません。

Linux Debianは破損したパッケージの依存関係の問題を検出できません。

私はアップグレード(sudo apt upgrade)を試みましたが、エラーのため失敗しましたE: Broken Packagesdpkg -l | grep brokenそれをしてdpkg -l | grep held何も返さなかった。私のsources.list外観は次のとおりです。

deb http://ftp.at.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.at.debian.org/debian/ stable main contrib non-free

deb http://ftp.at.debian.org/debian/ stable-updates main contrib non-free 
deb-src http://ftp.at.debian.org/debian/ stable-updates main contrib non-free

deb http://security.debian.org/ stable/updates main
deb-src http://security.debian.org/ stable/updates main

deb http://ftp.debian.org/debian stretch-backports main
deb-src http://ftp.debian.org/debian stretch-backports main

deb https://deb.opera.com/opera stable non-free

deb http://downloads.metasploit.com/data/releases/metasploit-framework/apt lucid main

deb [arch=amd64] https://repo.skype.com/deb stable main

deb http://repository.spotify.com stable non-free

deb [arch=amd64] http://repo.steampowered.com/steam/ precise steam
deb-src [arch=amd64] http://repo.steampowered.com/steam/ precise steam

sudo apt install -f私もこの方法をしましたが、sudo apt update && sudo apt upgrade -f && sudo apt dist-upgrade -f問題は解決されませんでした。また、代わりにaptitudeandを使ってみました。これはいくつかのパッケージバージョンの競合に関するものだと思いますが、まだ解決策がわかりません。synapticapt

フル出力sudo apt upgrade

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgstreamer-gl1.0-0 : Breaks: libgstreamer-plugins-bad1.0-0 (< 1.13.1) but 1.10.4-1 is to be installed
 libgstreamer-plugins-base1.0-0 : Conflicts: libgstreamer-plugins-bad1.0-0 (< 1.13.1) but 1.10.4-1 is to be installed
                                  Breaks: libgstreamer-plugins-bad1.0-0 (< 1.13.1) but 1.10.4-1 is to be installed
 libgstreamer-plugins-base1.0-0:i386 : Conflicts: libgstreamer-plugins-bad1.0-0 (< 1.13.1) but 1.10.4-1 is to be installed
                                       Breaks: libgstreamer-plugins-bad1.0-0 (< 1.13.1) but 1.10.4-1 is to be installed
 libgstreamer1.0-0 : Breaks: libgstreamer-plugins-bad1.0-0 (< 1.13.1) but 1.10.4-1 is to be installed
 libgstreamer1.0-0:i386 : Breaks: libgstreamer-plugins-bad1.0-0 (< 1.13.1) but 1.10.4-1 is to be installed
E: Broken packages

ベストアンサー1

どういうわけかDebian Betaや不安定なリリースからgstreamerパッケージを入手しました。システムを修復するには、そのシステムを削除してDebian 9バージョンを復元する必要があります。

sudo apt purge libgstreamer-gl1.0-0
sudo apt install libgstreamer-plugins-base1.0-0/stable libgstreamer-plugins-base1.0-0:i386/stable libgstreamer1.0-0/stable libgstreamer1.0-0:i386/stable

おすすめ記事