我按照 WineHQ 指南操作,然后再次尝试添加此命令:
sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386
然后再重播这
(还有一些其他的东西,我试图发布这个过程但它一直被垃圾邮件过滤器捕获)。
$ apt list --upgradable
Listing... Done
wine-devel-amd64/eoan 5.9~eoan amd64 [upgradable from: 5.9~bionic]
wine-devel-dbg/eoan 5.9~eoan amd64 [upgradable from: 5.9~bionic]
wine-devel-dev/eoan 5.9~eoan i386 [upgradable from: 5.9~bionic]
wine-devel-i386/eoan 5.9~eoan i386 [upgradable from: 5.9~bionic]
wine-stable-amd64/eoan 5.0.0~eoan amd64 [upgradable from: 4.0.4~bionic]
wine-staging-i386/eoan 5.9~eoan i386 [upgradable from: 5.9~bionic]
我尝试强制升级/安装它们,从 9 个减少到这里列出的 6 个。
$ 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 (= 5.0.0~eoan)
E: Unable to correct problems, you have held broken packages.
我真的不知道 ubuntu 是如何工作的,如果有人能指导我一下,提前谢谢了
-编辑
$ apt-cache policy winehq-stable wine-stable wine
winehq-stable:
Installed: (none)
Candidate: 5.0.0~eoan
Version table:
5.0.0~eoan 500
500 https://dl.winehq.org/wine-builds/ubuntu eoan/main amd64 Packages
4.0.4~eoan 500
500 https://dl.winehq.org/wine-builds/ubuntu eoan/main amd64 Packages
4.0.4~bionic 500
500 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Packages
4.0.3~eoan 500
500 https://dl.winehq.org/wine-builds/ubuntu eoan/main amd64 Packages
wine-stable:
Installed: (none)
Candidate: 5.0.0~eoan
Version table:
5.0.0~eoan 500
500 https://dl.winehq.org/wine-builds/ubuntu eoan/main amd64 Packages
4.0.4~eoan 500
500 https://dl.winehq.org/wine-builds/ubuntu eoan/main amd64 Packages
4.0.4~bionic 500
500 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Packages
4.0.3~eoan 500
500 https://dl.winehq.org/wine-builds/ubuntu eoan/main amd64 Packages
3.0-1ubuntu1 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
500 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages
wine:
Installed: 4.0.4-0ubuntu1~18.04~ricotz0
Candidate: 4.0.4-0ubuntu1~18.04~ricotz0
Version table:
*** 4.0.4-0ubuntu1~18.04~ricotz0 500
500 http://ppa.launchpad.net/ricotz/unstable/ubuntu bionic/main amd64 Packages
500 http://ppa.launchpad.net/ricotz/unstable/ubuntu bionic/main i386 Packages
100 /var/lib/dpkg/status
答案1
你的存储库很混乱。
删除错误的:
sudo apt-add-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ricotz/unstable
并且它将被固定。