web-dev-qa-db-ja.com

Wine Ubuntu 18.04をインストールできません

だから私は上の指示に従って始めました: https://wiki.winehq.org/Ubunt

だから私はやった:

wget -nc https://dl.winehq.org/wine-builds/Release.key
Sudo apt-key add Release.key
Sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

次に、更新を行った後、次を使用してインストールしようとしました:

Sudo apt-get 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 (= 3.0.4~cosmic)
E: Unable to correct problems, you have held broken packages.

また、wine-stable-i386をインストールするように指示されているため、wine-stableをインストールできません。

 wine-stable-i386:i386 : Depends: libc6:i386 (>= 2.28) but 2.27-3ubuntu1 is 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: 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: libsane:i386 or
                                 libsane1:i386 but it is not going to be installed
                     Recommends: libsdl2-2.0-0:i386 but it is not going to be installed
                     Recommends: libv4l-0:i386 but it is not going to be installed
                     Recommends: libxcomposite1:i386 but it is not going to be installed
                     Recommends: libxcursor1:i386 but it is not going to be installed
                     Recommends: libxfixes3:i386 but it is not going to be installed
                     Recommends: libxi6:i386 but it is not going to be installed
                     Recommends: libxinerama1:i386 but it is not going to be installed
                     Recommends: libxrandr2:i386 but it is not going to be installed
                     Recommends: libxrender1:i386 but it is not going to be installed
                     Recommends: libxslt1.1:i386 but it is not going to be installed
                     Recommends: libxxf86vm1:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

私はこれを修正する方法がわかりません、助けてください。

Sudo apt-get install -fも試しましたが、戻ります

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

編集:Sudo dpkg --add-architecture i386 Edit2:ワインステージングも機能しました

2
Kamikoroshi

ベースラインリポジトリにあるものよりも新しいバージョンが必要ですか?

そうでない場合は、追加したPPAを削除して、

Sudo apt install wine-staging

wine-stable:   Installed: 3.0-1ubuntu1   Candidate: 3.0-1ubuntu1   Version table:  *** 3.0-1ubuntu1 500
        500 [my-local-]mirror/us.archive.ubuntu.com/ubuntu bionic/universe AMD64 Packages
        500 [my-local-]mirror/us.archive.ubuntu.com/ubuntu bionic/universe i386 Packages
        100 /var/lib/dpkg/status
2
Organic Marble

Ubuntuベースのすべてのシステムで使用される「ソフトウェアセンター」アプリケーションで簡単にインストールできます。ソフトウェアを起動し、検索ボックスに「ワイン」と入力します。 「Q4Wine」バージョンをインストールします。あなたは準備ができています!開始すると、「WineHQ」およびその他のワインベースのアプリ(ワイン鉱山、ワインの再編集、ワインコントロールパネル、その他のWindowsのもの)があります。

0
Zdravko Kostov