~/Desktop/wine-1.5.22$ sudo apt-get install wine
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 : Depends: wine1.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages
该怎么办?
答案1
我在 64 位系统上安装 wine 并使用终端添加官方 wine 仓库时遇到了同样的问题,通过输入以下命令解决了该问题:
sudo 添加 apt 存储库 ppa:ubuntu-wine/ppa sudo apt-get 更新 sudo apt-get 安装 wine1.5
答案2
我认为,首先您要使用最新的各种补丁来更新和升级您的系统。
$ sudo apt-get update && sudo apt-get upgrade
之后尝试从默认的 ubuntu 存储库安装。它可能会起作用。
如果没有,那么就按照先生的建议休耕。十加一
$ sudo add-apt-repository ppa:ubuntu-wine/ppa
$ sudo apt-get update
$ sudo apt-get install wine1.5
但首先要升级你的系统。
答案3
就我个人而言,我会坚持使用稳定的 Wine 版本 1.4。1.5 版本是一个开发版本,仍然有很多错误。例如,我知道我使用的 Windows 应用程序在 1.5 版本中没有右键点击功能,但 1.4(稳定)版本运行完美。
sudo apt-get update; sudo apt-get upgrade && sudo apt-get install wine1.4
应该看到你没错。