所以我开始按照以下说明操作:https : //wiki.winehq.org/Ubuntu
所以我做了:
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/
Run Code Online (Sandbox Code Playgroud)
然后在进行更新后,我尝试使用以下方法进行安装:
sudo apt-get install --install-recommends winehq-stable
Run Code Online (Sandbox Code Playgroud)
但我得到了
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.
Run Code Online (Sandbox Code Playgroud)
而且我无法安装 wine-stable,因为它告诉我安装 wine-stable-i386,我也无法安装,因为:
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.
Run Code Online (Sandbox Code Playgroud)
我不知道如何解决这个问题,请帮忙。
我也试过这样做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.
Run Code Online (Sandbox Code Playgroud)
编辑:也有sudo dpkg --add-architecture i386
Edit2: wine-staging 作品
您是否需要比基线存储库中的版本更新的版本?
如果没有,请删除您添加的 ppa,然后
sudo apt install wine-stable
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
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
8320 次 |
| 最近记录: |