私はこの投稿をフォローしています: Wine Ubuntu 18.04をインストールできません
しかし、インストールのソリューションwine-staging
が機能しませんでした。
これが私の試みの出力です:
Sudo apt install wine-staging`
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.0~rc5~cosmic) but it is not going to be installed
Depends: wine-staging-i386 (= 4.0~rc5~cosmic)
E: Unable to correct problems, you have held broken packages.
Wine-staging-AMD64をインストールしようとしましたが、他の依存関係の問題が発生しました:
Sudo apt-get install wine-staging-AMD64
[Sudo] password for gerard:
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-AMD64 : Depends: libavcodec58 (>= 7:4.0) but it is not installable
Depends: libavutil56 (>= 7:4.0) but it is not installable
Depends: libvkd3d1 but it is not installable
Recommends: libcapi20-3 but it is not going to be installed
Recommends: libodbc1 but it is not going to be installed
Recommends: libosmesa6 but it is not going to be installed
Recommends: libsdl2-2.0-0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
編集:「その他のソフトウェア」セクションでUbuntuソフトウェアGUIのすべての外部ソースを削除し、アップグレードを実行して再起動し、Elvirの指示に従いました。うまくいきました、ありがとう!
$ Sudo dpkg --add-architecture i386
$ wget -qO- https://dl.winehq.org/wine-builds/Release.key | Sudo apt-key add-
$ Sudo apt-add-repository 'deb http://dl.winehq.org/wine-builds/ubuntu/ artful main'
これは利用可能なWineの最新かつ安定したリリースです。このバージョンをインストールするには、次のコマンドを使用します。
Sudo apt-get install --install-recommends winehq-stable
Yの選択を求めるプロンプトが表示されたら、[〜#〜] y [〜#〜]を入力してください/ nインストール用。その後、Wineの安定版がシステムにインストールされます。
これを試して:
apt update
apt dist-upgrade
apt install wine-staging