APT - Wine32をインストールしようとしたときのパッケージの破損

APT - Wine32をインストールしようとしたときのパッケージの破損

wine32をインストールしようとしています。

実行すると、sudo apt install wine32次の出力が返されます。

Reading package list... Done
Create dependency tree
Reading status information... Done

Some packages cannot be installed. This may mean that
asked for an impossible situation or, if you are using the distribution
unstable, that some required packages have not yet been created or are
have taken from «Incoming». The following information may help resolve the situation:

The following packages have unmet dependencies:

wine32:i386 : Depends: libwine:i386 (= 4.0-2) but will not install

E: Unable to fix problems, has saved broken packages.

役に立つ場合に備えてhuayra 5.0を使用しています。

ベストアンサー1

まず、Huayra 5には1つのバージョンしかないので、アーキテクチャi386()を追加したとします。dpkg --add-architecture i386amd64

Casがレビューで述べたように、wine32Huayra倉庫にはありません。 WineHQリポジトリからWine32をインストールしてみましょう。
これを行うには、まずWineHQのストレージキーをダウンロードして追加する必要があります。

sudo mkdir -pm755 /etc/apt/keyrings
sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

次に、対応するDebianバージョンのソースファイルをダウンロードします。 (Huayra 5はDebian Busterに基づいています。後で参考にするために他のバージョンのDebianを使用している場合は、busterDebianのバージョンコード名を変更してください。)

sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/buster/winehq-buster.sources

これを完了したら、パッケージのリストを更新する必要があります。sudo apt update

最後に Wine32 をインストールするには、次の手順を実行します。

sudo apt install --install-recommends wine32

おすすめ記事