php - 如何在 Wheezy Debian php 5.6 中安装 php5-gd
问题描述
我的 2 个站点无法运行 bcs 我无法将 php5-gd 库安装到 Debian Wheezy php5.6 ...
我试过了
aptitude install 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 自动删除
然后从头开始,然后试试你的php5-gd
当失败时尝试:
sudo apt-get install -f
推荐阅读
- c# - 多张卡上的 SPA 身份验证
- inner-join - 显示分配给员工的计算机 ID、名称、计算机 ID 和制造商提供的型号为“Precision”或“Edge”
- r - R Shiny 中的散点图与不是 x 或 y 轴的变量交互
- c# - 试图将 guid 列表传递给表
- geometry - 如何用mathematica在圆的周长上生成6个点?
- amazon-web-services - 从 lambda 读取弹性疼痛 - 无法连接
- flutter - 颤振飞镖错误飞镖(argument_type_not_assignable)
- c# - C# for Linux [Centos8] 可以调用其他语言吗
- minikube - 无法访问在 AWS 上运行的 Minikube 上的 NodePort 服务
- javascript - 错误:文本字符串必须在
字符串不为空时 React Native 中的组件