Debian Buster の新規インストールでは Steam をインストールできません。

Debian Buster の新規インストールでは Steam をインストールできません。

Debianを新しくインストールしたところ、i386パッケージに依存するSteamとPCSX2をインストールできませんでした。

私は古典的な手順に従いました。

# dpkg --add-architecture i386
# apt update
# apt upgrade

Steamをインストールしようとすると、apti386パッケージをインストールできません。

# 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テストと一致).マルチアーキテクチャパッケージは完全に同期された状態を維持する必要があります。i386amd64

この問題を解決するには、影響を受けるパッケージをDebian 10リリースにダウングレードするか、i386Debianテストリリースをインストールするか(amd64必要に応じてパッケージをアップグレード可能)、Debianテストに一括切り替えする必要があります。

ちなみに、これはあなたの設定が新しいDebian Busterのインストールではないことを意味します。

おすすめ記事