VPS侦探论坛

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

Windows WSL2 Ubuntu 20.04.1 LTS 64位 安装PHP失败

[复制链接]
发表于 2023-3-15 23:23:38 | 显示全部楼层 |阅读模式

Windows WSL2 Ubuntu 20.04.1 LTS 64位 安装PHP失败


日志只有90多KB怎么上传不了?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-3-16 00:28:30 | 显示全部楼层


日志上传到百度网盘了,请在这里取:链接:https://pan.baidu.com/s/1TA7isMx9LVEeHyCA5N0XnQ?pwd=9a2f
提取码:9a2f
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-3-16 11:12:44 | 显示全部楼层

VERSION="20.04.1 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.1 LTS"
。。。。。
Hit:1 http://mirrors.aliyun.com/ubuntu bionic InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu bionic-security InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu bionic-updates InRelease
Hit:4 http://mirrors.aliyun.com/ubuntu bionic-proposed InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu bionic-backports InRelease

。。。。
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:
libssl-dev : Depends: libssl1.1 (= 1.1.1-1ubuntu2.1~18.04.21) but 1.1.1f-1ubuntu2.1 is to be installed
E: Unable to correct problems, you have held broken packages.

。。。。
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:
libxslt1-dev : Depends: libxml2-dev (>= 2.6.26) but it is not going to be installed
                Depends: libxslt1.1 (= 1.1.29-5ubuntu0.3) but 1.1.34-4 is to be installed
E: Unable to correct problems, you have held broken packages.

你这系统是Ubuntu 20.04,你设置一个18.04的源,这都差辈份了
肯定会导致各种依赖包关系混乱而无法安装
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-12-2 12:32 , Processed in 0.025749 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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