gpt4 book ai didi

php - 如何在 Wheezy Debian php 5.6 中安装 php5-gd

转载 作者:行者123 更新时间:2023-12-04 01:40:46 26 4
gpt4 key购买 nike

我的 2 个站点无法正常工作,因为我无法将 php5-gd 库安装到 Debian Wheezy php5.6 ...

我试过了

aptitude 安装 php5-gd,系统说我缺少 2 个依赖项,我无法找到或安装...

aptitude install php5-gd

sudo apt-get install php5-gd

Reading package lists... Done
Building dependency tree
Reading state information... Done
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:

php5-gd :
Depends: libt1-5 (>= 5.1.0) but it is not installable

Depends: libvpx1 (>= 1.0.0) but it is not installable

E: Unable to correct problems, you have held broken packages.

最佳答案

你有没有先更新你的apt-get?

首先,运行:

sudo apt-get update

然后如果成功运行;

sudo apt-get upgrade

如果你跑 df-lah

首先,它可能会显示您的/boot 处于 100%尝试; sudo apt-get autoremove

然后从头开始,然后试试你的php5-gd

当失败时尝试:

sudo apt-get install -f

关于php - 如何在 Wheezy Debian php 5.6 中安装 php5-gd,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57542970/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com