为了安装 WINE,我遵循了WineHQ Wiki ,所以我输入了以下所有行:
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
但它不起作用。
在我看来,您的问题是您正在尝试将 Cosmic 资源与 Bionic 一起使用:https ://wiki.ubuntu.com/Releases
跑 :
同样作为一个有使用经验的葡萄酒的长期用户,最好的葡萄酒体验来自让其他程序为您配置和使用它,EG Steam和Lutris。虽然两者都旨在用于运行专门的游戏应用程序,但我已经成功地将它们与非游戏应用程序一起使用。你应该看看。
sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu/ focal-updates main universe restricted multiverse'
sudo apt-add-repository 'deb http://security.ubuntu.com/ubuntu focal-security main universe restricted multiverse'
sudo apt update
sudo apt full-upgrade
我错过了一些存储库,这为我修复了它