unix - Ubuntu "you have held broken packages"

标签 unix ubuntu terminal

(使用 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/

相关文章:

macos - MacOS X 中未定义宏 `__unix__`

java - 如果Java进程在Unix(Solaris)/Windows中被杀死,所使用的内存是否会被释放?

ubuntu - ASP.NET Core 测试 : site can't be reached

c# - fmodex 返回 ERR_FILE_BAD 在 Mono/Ubuntu 下播放 MP3 文件

c - 如何将日期时间转换为 c 中的 unix 时间戳?

linux - 更改 SCHED_OTHER 调度程序的时间量

amazon-web-services - cfn-init 错误 : Unable to retrieve remote metadata : No credentials

linux - Bower 安装 Bootstrap 问题

linux - 通过终端将 cat 结果中的确切内容替换为文件

node.js - ubuntu 服务器中的虚拟终端无法识别新安装的 nvm