適切なソースリストにアーキテクチャを割り当てます。

適切なソースリストにアーキテクチャを割り当てます。

i386ゲームに必要な32ビットパッケージをインストールするには、適切なソースリストにアーキテクチャを追加する必要がありました。

今私のsources.list姿はこんな感じです。

deb [arch=amd64,i386] https://deb.debian.org/debian/ bookworm main non-free contrib non-free-firmware
deb-src [arch=amd64,i386] https://deb.debian.org/debian/ bookworm main non-free contrib non-free-firmware
    
deb https://security.debian.org/debian-security bookworm-security main non-free contrib non-free-firmware
deb-src https://security.debian.org/debian-security bookworm-security main non-free contrib non-free-firmware
        
deb https://deb.debian.org/debian/ bookworm-updates main non-free contrib non-free-firmware
deb-src https://deb.debian.org/debian/ bookworm-updates main non-free contrib non-free-firmware

パッケージをインストールするには、最初の行だけをi386を追加するだけですが、すべての行にArchを追加する必要があるかどうかわかりません。

たとえば、これを行わないと、apt updateを使用してもパッケージが更新されません。

ベストアンサー1

Debian でマルチアーキテクチャアクティベーションを使用するsudo dpkg --add-architecture i386場合arch=sources.list

適切なソース設定。 Debian Wiki で説明されています。

おすすめ記事