(使用 ubuntu 14.04.3) 我需要安装 libx32gcc-4.8-dev libc6-dev-i386。 当我尝试通过写来下载它时:
sudo apt-get install libx32gcc-4.8-dev libc6-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:
libx32gcc-4.8-dev : Depends: lib32gcc1 (>= 1:4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
Depends: libx32gcc1 (>= 1:4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
Depends: lib32asan0 (>= 4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
Depends: libx32asan0 (>= 4.8.4-2ubuntu1~14.04.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.`
而且它不起作用。 我试过了
sudo apt-get upgrade
sudo apt-get install libx32gcc-4.8-dev libc6-dev-i386
同样的结果 和
sudo apt-get remove libx32gcc-4.8-dev libc6-dev-i386
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
sudo apt-get install libx32gcc-4.8-dev libc6-dev-i386
但是也没用...
最佳答案
我认为你必须通过这样做来修复包 sudo apt-get install -f
关于unix - Ubuntu "you have held broken packages",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41840480/