WINEをインストールするためにWineHQWikiをフォローしたので、次のすべての行を入力しました。
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/ cosmic main'
sudo apt update
次に入力するとき:
sudo apt install --install-recommends winehq-stable
Stable branch
のパッケージを取得するため 。次の出力がありました:
sudo apt install --install-recommends winehq-stable
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-stable : Depends: wine-stable (= 4.0~trusty)
E: Unable to correct problems, you have held broken packages.
どういう意味ですか?
編集:私はすでに実行しようとしました
sudo apt-get update
しかし、それは機能しません。
編集: 追加されたソフトウェアソース:
承認された回答:
あなたの問題は、BionicでCosmicソースを使用しようとしていることだと思います:https://wiki.ubuntu.com/Releases
実行:
sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu/ cosmic main'
sudo apt update
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo apt update
sudo apt install --install-recommends winehq-stable
また、ワインの使用経験が長い長年のユーザーとして、可能な限り最高のワイン体験は、他のプログラムに構成して使用させることから得られます。 SteamとLutris。どちらも特にゲームアプリを実行するために使用することを目的としていますが、私はゲーム以外のアプリで正常に使用しました。おそらく見てみるべきです。