VPS侦探论坛

 找回密码
 注册
搜索
查看: 143|回复: 3

lnmp1.6,php安装失败

[复制链接]
发表于 2019-6-12 10:05:16 | 显示全部楼层 |阅读模式



本帖最后由 vgenie 于 2019-6-12 10:06 编辑

Debian 9.9
Hyper-v虚拟机
2core
2g mem
25g hdd

显示php-fpm不存在

log见此
http://tmp.link/f/5d005d02f40d9
谢谢

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

发表于 2019-6-12 13:43:40 | 显示全部楼层



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:
libpng-dev : Depends: libpng16-16 (= 1.6.28-1) but 1.6.28-1+deb9u1 is to be installed
E: Unable to correct problems, you have held broken packages.

一个依赖包依赖关系有问题,可以使用 aptitude install libpng16-16 修复一下
然后再 apt-get install libpng16-16 安装上依赖,如果正常安装了再lnmp
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org/
发表于 2019-6-12 14:48:58 | 显示全部楼层

看看,学习学习
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org/
 楼主| 发表于 2019-6-12 21:59:26 | 显示全部楼层



licess 发表于 2019-6-12 13:43
一个依赖包依赖关系有问题,可以使用 aptitude install libpng16-16 修复一下
然后再 apt-get install lib ...

感谢

libpng16-16版本高了点,降级重装成功
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2019-6-27 09:12 , Processed in 0.079454 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

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