VPS侦探论坛

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

lnmp.1.9 安装升级php失败

[复制链接]
发表于 2023-2-5 00:31:59 | 显示全部楼层 |阅读模式

https://t.wss.ink/f/afabwawi0lf


lnmp.1.9 安装php 失败,升级也失败,求助
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2023-2-5 00:42:29 | 显示全部楼层


本帖最后由 cxxbz 于 2023-2-5 00:49 编辑

系统:Linux VM-0-8-opencloudos 5.4.119-19.0010.ocrelease.6  x86_64  GNU/Linux


安装日志:https://t.wss.ink/f/afah0sui6mc
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2023-2-5 11:49:39 | 显示全部楼层

checking for libxml-2.0 >= 2.7.6... no
configure: error: Package requirements (libxml-2.0 >= 2.7.6) were not met:

Package 'libxml-2.0', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBXML_CFLAGS
and LIBXML_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

[qutoe]Last metadata expiration check: 0:07:37 ago on Sat 04 Feb 2023 04:42:05 PM CST.
Error:
Problem: cannot install both xz-libs-5.2.4-3.el8.x86_64 and xz-libs-5.2.4-4.oc8.x86_64
  - package xz-devel-5.2.4-3.el8.x86_64 requires xz-libs(x86-64) = 5.2.4-3.el8, but none of the providers can be installed
  - package xz-5.2.4-4.oc8.x86_64 requires xz-libs(x86-64) = 5.2.4-4.oc8, but none of the providers can be installed
  - package libxml2-devel-2.9.7-9.el8_4.2.x86_64 requires xz-devel(x86-64), but none of the providers can be installed
  - package xz-lzma-compat-5.2.4-4.oc8.x86_64 requires xz(x86-64) = 5.2.4-4.oc8, but none of the providers can be installed
  - cannot install the best candidate for the job
  - problem with installed package xz-lzma-compat-5.2.4-4.oc8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)[/quote]
你系统上有问题,猜测可能不仅仅有OpenCloudOS 8的源还有centos 8的源
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-21 19:08 , Processed in 0.026007 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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