VPS侦探论坛

 找回密码
 注册
查看: 3102|回复: 2

安装LNMP失败,内详。

[复制链接]
发表于 2017-9-5 02:14:11 | 显示全部楼层 |阅读模式

主机:vultr 5刀,Los Angeles
Debian 7 x64 (wheezy) 。非全新,曾安装SSR MudbJSON模式 逗比多用户一键脚本和Cisco AnyConnect V空格P空格N服务端一键脚本。安装最后提示:
Nginx: OK
Error: MySQL install failed.
Error: PHP install failed.
Sorry, Failed to install LNMP!


附件已上传。


是哪里冲突了么?感谢帮助!

本帖子中包含更多资源

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

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


https://bbs.vpser.net/thread-13449-1-1.html

另外你这个还多一个问题
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:
libncurses5-dev : Depends: libtinfo5 (= 5.9-10) but 5.9+20140913-1+b1 is to be installed
                   Depends: libncurses5 (= 5.9-10) but 5.9+20140913-1+b1 is to be installed
                   Depends: libtinfo-dev (= 5.9-10) but 5.9+20140913-1+b1 is to be installed
E: Unable to correct problems, you have held broken packages.

系统依赖有问题,导致依赖包libncurses5-dev没安装上
可以尝试dpkg -P --force-all libtinfo5 libncurses5 ncurses-bin 等几个不是正常依赖版本的程序强制卸载掉
然后  apt-get -f install
apt-get install  libncurses5-dev 再看一下能否正常安装
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-9-6 01:57:27 | 显示全部楼层

感谢!试着尝试执行了下您给的命令,直接报错。
懒得折腾了,于是按照相关帖子的建议直接升级成debian 8了。一次安装成功。
再次感谢~~
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-18 05:30 , Processed in 0.026293 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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