GNU/Linux >> Linux の 問題 >  >> Ubuntu

ワイン:保持されている壊れたパッケージを修正する方法は?

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。どちらも特にゲームアプリを実行するために使用することを目的としていますが、私はゲーム以外のアプリで正常に使用しました。おそらく見てみるべきです。


Ubuntu
  1. 再インストールせずに壊れたUbuntuOSを修正する方法

  2. 修正方法– SudoがUbuntuでホストを解決できませんか?

  3. パッケージのインストールエラーを修正する方法–問題を修正できません。壊れたパッケージを保持しています

  1. パッケージが壊れているためにUbuntuが更新されない問題を修正する方法

  2. UbuntuにWine7.0をインストールする方法

  3. Ubuntu 16.04で依存関係の問題を修正する方法は?

  1. Ubuntu20.04で壊れたパッケージを修正する方法

  2. 壊れたパッケージを修正する方法は?

  3. Valgrind –壊れたパッケージの保持に問題がありますか?