私はルトリスを介してゲームを実行しようとし、ワインのステージングのインストールについて the wiki に従いました。
実行時:
$ Sudo apt install --install-recommends winehq-staging
彼らが予測するエラーが表示されますが、実行すると:
$ Sudo apt install --install-recommends winehq-staging wine-staging wine-staging-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:
wine-staging : Depends: wine-staging-AMD64 (= 4.13~bionic) but it is not going to be installed
wine-staging-i386:i386 : Depends: libfaudio0:i386 but it is not installable
Recommends: libcairo2:i386 but it is not going to be installed
Recommends: libcapi20-3:i386 but it is not going to be installed
Recommends: libcups2:i386 but it is not going to be installed
Recommends: libglu1-mesa:i386 but it is not going to be installed or
libglu1:i386
Recommends: libgsm1:i386 but it is not going to be installed
Recommends: libgssapi-krb5-2:i386 but it is not going to be installed
Recommends: libgtk-3-0:i386 but it is not going to be installed
Recommends: libkrb5-3:i386 but it is not going to be installed
Recommends: libodbc1:i386 but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libpcap0.8:i386 but it is not going to be installed
Recommends: libsane:i386 or
libsane1:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not going to be installed
Recommends: libva-drm2:i386 but it is not going to be installed or
libva-drm1:i386 but it is not installable
Recommends: libva-x11-2:i386 but it is not going to be installed or
libva-x11-1:i386 but it is not installable
Recommends: libva2:i386 but it is not going to be installed or
libva1:i386 but it is not installable
Recommends: libxcomposite1:i386 but it is not going to be installed
Recommends: libxslt1.1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
見つかった指示に従いました こちら 不足しているlibfaudio:i386
をダウンロードしました。
Ubuntu 18.04:
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key Sudo apt-key add Release.key
リポジトリを追加します。
Sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./'
次に更新します。
Sudo apt update
私も同様の問題を抱えていたので、いくつかのウサギの穴を掘り下げたので、自分の解決策を詳しく説明すると他の人の役に立つと思いました。私はaptのパッケージ化プロセスやワインに特に賛成しているわけではないので、ubuntu 18.04.4 LTSでwine3.0からwine5.0へのアップグレードから経験したすべてをリストアップします。
Sudo apt-get purge *wine*
Sudo snap remove wine Sudo snap update wine-platform-*
grep -Ril "wine" /etc/apt
一致するものがあった場合は、コメント化するか、キーを削除すると、後で完全に再追加されます。
Sudo dpkg --add-architecture i386 wget -nc https://dl.winehq.org/wine-builds/winehq.key Sudo apt-key add winehq.key Sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' Sudo apt update Sudo apt upgrade Sudo apt --fix-broken install Sudo apt autoremove --purge Sudo apt upgrade
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/Release.key Sudo apt-key add Release.key Sudo apt-add-repository 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/ ./' Sudo apt update Sudo apt install libfaudio0 libasound2-plugins:i386 -y
Sudo apt install --install-recommends winehq-stable -y
@ chilly-cheaseが指摘したように、libfaudio0:i386
パッケージがubuntu 18.04リポジトリにありません。
それを修正する最も簡単な方法は次のとおりです。
Sudo add-apt-repository ppa:cybermax-dexter/sdl2-backport
Sudo apt install --install-recommends winehq-staging
最初に実行したとき:
Sudo apt install --install-recommends winehq-staging
パッケージマネージャーを壊れた状態のままにして、最初にwine関連のパッケージをすべて削除して、動作するパッケージの状態にする必要があります。
Sudo apt remove winehq-staging wine\*
Sudo apt install -f
パッケージマネージャーを動作状態にしたら、いくつかの推奨パッケージのインストールを回避する回避策コマンドを試すことができます。