VPS侦探论坛

 找回密码
 注册
查看: 7156|回复: 1

Ubuntu Server 13.04安装失败,checking for C compiler ... not found

[复制链接]
发表于 2013-10-10 09:50:43 | 显示全部楼层 |阅读模式

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.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-10-10 20:15:41 | 显示全部楼层


依赖库有问题
aptitude install libc6=2.15-0ubuntu10.4 试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-15 17:38 , Processed in 0.026023 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表