当我尝试在我的 ubuntu 中安装 lib64ncurses5 时,收到以下错误消息:
$ sudo apt-get install lib64ncurses5
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:
lib64ncurses5:i386 : Depends: lib64tinfo5:i386 (= 5.9-4) but it is not going to be installed
Depends: libc6-amd64:i386 (>= 2.4) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
通常情况下,apt-get 可以解决依赖关系并安装所有必需的软件包。那么为什么在这种情况下它会失败呢?
uname
输出:
Linux server001 3.5.0-39-generic #60~precise1-Ubuntu SMP Wed Aug 14 15:38:41 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux