如何在 Ubuntu 14.04 lts 中安装 wine?

如何在 Ubuntu 14.04 lts 中安装 wine?

我一直在尝试安装 wine,但是当我使用命令时sudo apt-get install wine收到以下消息:

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:
  unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed
  Depends: libcheese7 (>= 3.0.1) but it is not going to be installed
  wine : Depends: wine1.6 or wine1.8 but it is not going to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

如果你需要额外的信息告诉我命令我会发布它们

答案1

您可以尝试运行此命令:

sudo apt-get install -f

它应该修复依赖关系并自动安装缺失的软件包。

如果不够或者您收到一些错误,您可以尝试使用以下命令手动安装缺失的软件包:

sudo apt-get install libcheese-gtk23 libcheese7 unity-control-center

有关选项的更多信息,apt-get-f可以阅读运行此命令的手册:

man apt-get

我希望这可以帮到你。

相关内容