Ubuntu - 无法纠正问题,你已经破坏了包裹

时间:2015-09-01 16:06:03

标签: linux ubuntu ubuntu-14.04

我已经搜索了解决方案,但到目前为止,我没有找到合适的解决方案。

主持人:Ubuntu 14.04

当我输入以下命令时,

sudo apt-get install libxtst-dev:i386

我收到以下错误消息:

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:
libxtst-dev:i386 : Depends: libxext-dev:i386 but it is not going to be installed
                Depends: libxi-dev:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

其他一些包装也有同样的错误。

请让我知道如何解决这些冲突,这些冲突。

1 个答案:

答案 0 :(得分:2)

您可以通过请求安装所需的软件包来更正错误:

sudo apt-get install libxtst-dev:i386 libxext-dev:i386 libxi-dev:i386

我更喜欢使用aptitude's基于curses的" GUI"浏览依赖项以解决任何问题。