无法安装 libc6-dev

无法安装 libc6-dev

我输入sudo apt-get install libc6-dev并得到以下返回:

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 yo uare 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:
 lib6-dev : Depends: libc6 (= 2.19-0ubuntu6) ut 2.19-0ubuntu6.1 is to be installed
            Recommends gcc but it is not going to be installed or c-compiler
E: Unable to correct problems, you have held broken packages.

我正在运行 14.04.1,这是最新版本http://www.ubuntu.com/download/desktop

答案1

you have held broken packages.因此也许你应该sudo apt-get clean && sudo apt-get update先这样做。

相关内容