我一直在尝试在 Ubuntu 18.04 上安装 winehq-staging(与 lutris 一起使用)。
我遵循了标准步骤,但总是得到以下结果:
sudo apt install --install-recommends winehq-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:
winehq-staging : Depends: wine-staging (= 5.10~focal)
E: Unable to correct problems, you have held broken packages.
我不知道如何修复这个错误,因为它没有告诉我实际上缺少哪些依赖项!
我该怎么做才能成功安装winehq-staging
?
编辑:
我尝试了 @N0rbert 和 @bhordupur 评论的两个选项,但都无法解决我的问题。我收到了完全相同的错误消息。不过,我也运行了程序sudo apt-get install wine-stable-amd64
来找出缺少哪些包,结果如下:
sudo apt-get install wine-stable-amd64
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-stable-amd64 : Depends: libc6 (>= 2.29) but 2.27-3ubuntu1 is to be installed
Depends: libgcc-s1 (>= 3.0) but it is not installable
Depends: libvkd3d1 (>= 1.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
有人知道这个输出的确切含义吗?它读起来像是我可能无法安装这些依赖项以使 winehq-stable 正常工作?