每次我在 Ubuntu 12.04 上尝试安装 wine 1.6 时都会遇到这个问题。我不知道如何修复它!它只是说:
The following packages have unmet dependencies:
wine1.6 : Depends: libgettextpo0 but it is not installable
Depends: wine1.6-i386 (= 1.7.1-actually1.6-0ubuntu1)
Depends: binfmt-support (>= 1.1.2) but it is not installable
Recommends: gnome-exe-thumbnailer but it is not going to be installed or
kde-runtime but it is not going to be installed
Recommends: fonts-droid but it is not installable
Recommends: ttf-mscorefonts-installer but it is not installable
Recommends: fonts-horai-umefont but it is not installable
Recommends: fonts-unfonts-core but it is not installable
Recommends: winbind but it is not going to be installed
Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
答案1
您将要从 PPA 安装 wine。
与 Ubuntu 12.04 兼容的 wine 版本是1.4
。但它要安装 版本1.6
。这就是问题所在。
所提及的软件包not installable
或not going to be installed
已从主存储库安装。
wine 1.6
它们与要安装的不兼容。
解决方案是您必须删除 PPA 并从主存储库安装 wine ( wine 1.4
)。
可以这样做:
sudo add-apt-repository --remove ppa:ubuntu-wine/ppa && sudo apt-get update && sudo apt-get install wine
not installable
或者删除那些标记为或 的软件包not going to be installed
。然后从 PPA 安装 wine。
sudo apt-get remove libgettextpo0 binfmt-support gnome-exe-thumbnailer kde-runtime fonts-droid ttf-mscorefonts-installer fonts-horai-umefont fonts-unfonts-core winbind winetricks