VPS侦探论坛

标题: Ubuntu Server 13.04安装失败,checking for C compiler ... not found [打印本页]

作者: syklon    时间: 2013-10-10 09:50
标题: Ubuntu Server 13.04安装失败,checking for C compiler ... not found
Ubuntu Server 13.04安装失败,大体看了下日志,找到这句,checking for C compiler ... not found,但是机器上gcc是有的,奇怪,运行如下命令apt-get install gcc libc6-dev
结果如下:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
gcc is already the newest version.
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:
libc6-dev : Depends: libc6 (= 2.15-0ubuntu10.4) but 2.17-0ubuntu5 is to be installed
             Depends: libc-dev-bin (= 2.15-0ubuntu10.4)
E: Unable to correct problems, you have held broken packages.
作者: licess    时间: 2013-10-10 20:15
依赖库有问题
aptitude install libc6=2.15-0ubuntu10.4 试试




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4