방금 업그레이드( sudo apt upgrade
)를 시도했지만 오류로 인해 실패했습니다 E: Broken Packages
. dpkg -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
문제가 해결되지 않았습니다. 또한 대신 aptitude
and 를 사용해 보았습니다 . 이것은 일부 패키지 버전 충돌에 관한 것이라고 생각하지만 아직 해결 방법을 모르겠습니다.synaptic
apt
전체 출력 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
어떻게든 데비안 베타나 불안정한 릴리스에서 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
답변2
그렇게 간단해요다음에 추가deb-multimedia 저장소를 귀하의/etc/apt/sources.list
pd: 데비안 멀티미디어 저장소:
deb https://www.deb-multimedia.org buster main non-free
그 다음에:
apt update
apt upgrade
apt dist-upgrade
문제가 해결되었습니다.