我已经按照各个网站上发布的步骤运行了十几次,但总是出现相同的错误。所以我添加了密钥和存储库,它们位于我的 /etc/apt/sources.list 文件中
deb https://dl.winehq.org/wine-builds/ubuntu/ focal main
但是,在 apt 更新之后,我尝试使用以下命令安装 Wine 6.0,但每次都会出错。网上提到此问题的步骤都说,如果添加了错误的 repo,就会发生这种情况,但我使用的是 focus,所以这应该是正确的?
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 (= 6.0.0~focal-1)
E: Unable to correct problems, you have held broken packages.