我的 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/