hutaoseven 发表于 2022-11-2 11:19:45

PHP 安装不成功



https://tmp.link/f/6361e1a452c8b

licess 发表于 2022-11-2 16:16:38

This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libpng12-dev' has no installation candidate
Reading package lists...
Building dependency tree...
Reading state information...
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:
libicu-dev : Depends: libicu70 (= 70.1-2) but 70.1-2ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.

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

No package 'libxml-2.0' 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.
阿里云的ubuntu 22.04有问题,尽量不要用,要用的话参考:https://bbs.vpser.net/thread-26280-1-1.html 解决

hutaoseven 发表于 2022-11-2 18:33:54

是的,ubuntu 22.04 内核也无法更新,我已经提交工单了。
换了 Debian 11,就没问题
页: [1]
查看完整版本: PHP 安装不成功