无法在 Ubuntu 12.0.4 上通过终端安装程序

无法在 Ubuntu 12.0.4 上通过终端安装程序

我最近通过闪存驱动器启动了 Ubuntu 12.0.4。我以前也这样做过,以前的闪存驱动器都没有问题;当时我遇到的唯一问题是空间不足,现在我重新格式化了闪存驱动器以获得更多空间。我尝试安装的程序是 Wine 1.7,给出的说明这里这次对我来说不起作用。当我尝试通过终端安装它时,每次都会收到此消息:

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:
 wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.12-0ubuntu1) but it is not going to be installed
           Depends: wine1.7-i386 (= 1:1.7.12-0ubuntu1)
           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: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

如果有人知道这意味着什么我将不胜感激。

答案1

尝试从 sources.list 中删除 wine repo,更新 sources.list(sudo apt-get update)并且如果需要将最新的 repo 信息添加到列表中并再次更新列表。

现在尝试安装 wine。

答案2

sudo apt-get check 可以解决问题。您可能还想使用 apt-get autoclean && apt-get autoremove

相关内容