방금 Debian을 새로 설치했는데 i386 패키지에 의존하는 Steam과 PCSX2를 설치할 수 없습니다.
나는 고전적인 절차를 따랐습니다.
# dpkg --add-architecture i386
# apt update
# apt upgrade
Steam을 설치하려고 하면 apt
i386 패키지를 설치할 수 없습니다.
# apt install -f steam
Reading package lists... Done
Building dependency tree
Reading state information... 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:
steam:i386 : Depends: libgl1-mesa-glx:i386 but it is not going to be installed
Recommends: mesa-vulkan-drivers:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
PCSX2를 설치하려고 할 때도 마찬가지입니다.
# apt install pcsx2
Reading package lists... Done
Building dependency tree
Reading state information... 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:
pcsx2:i386 : Depends: libgl1:i386 but it is not going to be installed
Depends: libsdl2-2.0-0:i386 (>= 2.0.8) but it is not going to be installed
Depends: libwxgtk3.0-0v5:i386 (>= 3.0.4+dfsg) but it is not going to be installed
Recommends: libasound2-plugins:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
또는와인 32:
# apt install wine32
Reading package lists... Done
Building dependency tree
Reading state information... 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:
wine32:i386 : Depends: libwine:i386 (= 4.0-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
패키지 설치를 시뮬레이션하려고 하면 apt
다음과 같은 메시지가 표시됩니다.
apt install -s libgl1-mesa-glx:i386
Reading package lists... Done
Building dependency tree
Reading state information... 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:
libgl1-mesa-glx:i386 : Depends: libgl1:i386 but it is not going to be installed
Depends: libglx-mesa0:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
설치하려고 하면libgl1:i386또는libglx-mesa0:i386나는 가지고있다:
apt install libgl1:i386
Reading package lists... Done
Building dependency tree
Reading state information... 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:
libgl1:i386 : Depends: libglx0:i386 (= 1.1.0-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
# apt install libglx-mesa0:i386
Reading package lists... Done
Building dependency tree
Reading state information... 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:
libglx-mesa0:i386 : Depends: libx11-xcb1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
그런 다음libx11-xcb1:i386 설치:
# apt install libx11-xcb1:i386
Reading package lists... Done
Building dependency tree
Reading state information... 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:
libgl1 : Depends: libglx0 (= 1.1.0-1) but it is not going to be installed
libglx-mesa0 : Depends: libx11-xcb1 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
# apt policy libx11-xcb1{,:i386}
libx11-xcb1:
Installed: 2:1.6.12-1
Candidate: 2:1.6.12-1
Version table:
*** 2:1.6.12-1 100
100 /var/lib/dpkg/status
2:1.6.7-1 500
500 http://deb.debian.org/debian buster/main amd64 Packages
libx11-xcb1:i386:
Installed: (none)
Candidate: 2:1.6.7-1
Version table:
2:1.6.7-1 500
500 http://deb.debian.org/debian buster/main i386 Packages
내 콘텐츠는 다음과 같습니다 /etc/apt/sources.list
.
deb http://deb.debian.org/debian buster main contrib non-free
deb-src http://deb.debian.org/debian buster main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://deb.debian.org/debian buster-updates main contrib non-free
deb-src http://deb.debian.org/debian buster-updates main contrib non-free
답변1
# apt policy libx11-xcb1{,:i386}
libx11-xcb1:
Installed: 2:1.6.12-1
Candidate: 2:1.6.12-1
Version table:
*** 2:1.6.12-1 100
100 /var/lib/dpkg/status
2:1.6.7-1 500
500 http://deb.debian.org/debian buster/main amd64 Packages
libx11-xcb1:i386:
Installed: (none)
Candidate: 2:1.6.7-1
Version table:
2:1.6.7-1 500
500 http://deb.debian.org/debian buster/main i386 Packages
문제의 원인을 보여줍니다. 이미 설치된 패키지와 동일한 버전의 패키지를 apt
설치할 수 없습니다 (Debian 10이 아닌 Debian 테스트와 일치). 다중 아키텍처 패키지는 완전히 동기화된 상태를 유지해야 합니다.i386
amd64
이 문제를 해결하려면 영향을 받는 패키지를 Debian 10 릴리스로 다운그레이드하거나 i386
Debian 테스트 릴리스를 설치하거나( amd64
필요한 경우 패키지 업그레이드 가능) Debian 테스트로 일괄 전환해야 합니다.
그건 그렇고, 이는 귀하의 설정이 새로운 Debian Buster 설치가 아니라는 것을 의미합니다.