VPS侦探论坛

 找回密码
 注册
查看: 4597|回复: 4

安装全部失败,在线等 ^^

[复制链接]
发表于 2016-6-4 13:45:34 | 显示全部楼层 |阅读模式


请军哥查阅,内存2G,随时可以调整,如果可以解决,是直接重装lnmp还是要先卸载什么.

[ 本帖最后由 午夜晨曦 于 2016-6-4 15:05 编辑 ]

本帖子中包含更多资源

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

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

回复 1# 的帖子



忘了说,系统是部署在vmware v12虚拟机下,版本是Ubuntu16.04 x64,ping百度正常,DNS应该OK

[ 本帖最后由 午夜晨曦 于 2016-6-4 13:52 编辑 ]
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-6-4 13:47:51 | 显示全部楼层

回复 1# 的帖子


忘了说,系统是部署在vmware虚拟机下,版本是Ubuntu16.04 x64,ping百度正常,DNS应该OK
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-6-4 20:42:37 | 显示全部楼层



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:
build-essential : Depends: libc6-dev but it is not going to be installed or
                            libc-dev
                   Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
g++ : Depends: cpp (>= 4:5.2.1-3ubuntu1) but it is not going to be installed
       Depends: g++-5 (>= 5.2.1-12~) but it is not going to be installed
       Depends: gcc-5 (>= 5.2.1-12~) but it is not going to be installed
gcc : Depends: cpp (>= 4:5.2.1-3ubuntu1) but it is not going to be installed
       Depends: gcc-5 (>= 5.2.1-12~) but it is not going to be installed
       Recommends: libc6-dev but it is not going to be installed or
                   libc-dev
E: Unable to correct problems, you have held broken packages.
。。。。。。。。
The following packages have unmet dependencies:
libc6-dev : Depends: libc6 (= 2.21-0ubuntu4) but 2.23-0ubuntu3 is to be installed
             Depends: libc-dev-bin (= 2.21-0ubuntu4)
E: Unable to correct problems, you have held broken packages.

系统依赖关系有问题导致的
可以参考:https://bbs.vpser.net/thread-13449-1-1.html 这上面的方法按提示修复系统或重装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2016-6-5 11:57:12 | 显示全部楼层

回复 4# 的帖子


问题找到了.  16.04 x64版本的ubuntu 用163的源会有依赖关系问题,163好像有些源没更新,换了清华大学的就OK了.

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-17 08:22 , Processed in 0.027051 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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