web-dev-qa-db-ja.com

Wineの開発バージョンのインストール中のエラーメッセージ:Ubuntu 18.04

Wine HQ PPAからUbuntu 18.04 Bionic Beaverの下にWine(wine-devel)の最新開発バージョンをインストールしようとしていますが、次のエラーメッセージが表示されて停止します。

andrew@corinth:~$ Sudo apt install --install-recommends winehq-devel
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:
 winehq-devel : Depends: wine-devel (= 5.0.0~bionic)
E: Unable to correct problems, you have held broken packages.
andrew@corinth:~$ 

Ubuntu 18.04でWine開発バージョンのインストールを正常に完了するにはどうすればよいですか?私はWine PPAのみを使用し、OpenSuseビルドサービスなどの別のPPAを追加しないことをお勧めします 他のUbuntuの回答を尋ねる...

5
andrew.46

このエラーは、WineHQ wine-develがインストールを成功させるためにFAudioパッケージのインストールを必要とするために発生します。幸い、Ubuntu 18.04では、次の3つの比較的簡単な手順を使用することで、かなり簡単に回避できます

1。 Wine PPAを追加します

64ビットシステムに32ビットアーキテクチャを追加し、Wine PPAとキーを追加する必要があります。

Sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
Sudo apt-key add winehq.key
Sudo apt-get update

2。 FAudioを追加

Ubuntu 18.04(新しいバージョンのUbuntuには別のアプローチが必要です)の場合、次の手順を次に使用する必要があります。

cd ~/Downloads
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/AMD64/libfaudio0_19.07-0~bionic_AMD64.deb
wget https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04/i386/libfaudio0_19.07-0~bionic_i386.deb
Sudo dpkg -i libfaudio0_19.07-0~bionic_AMD64.deb libfaudio0_19.07-0~bionic_i386.deb
Sudo apt --fix-broken install

これはおそらく、もう1つのPPA、OpenSuse Build Service PPAを追加するよりも少し簡単です...

3。 Wine -develをインストールします

そして、最後にWineの最新開発バージョンをインストールします。

Sudo apt install --install-recommends winehq-devel

最後に、自分のシステムで見られるように、インストールをテストします。

andrew@corinth:~$ wine --version
wine-5.0
andrew@corinth:~$ 

そして今、あなたは行く権利があります:)

参考文献:

7
andrew.46