php - debian 7.1 上的 php5-gd 损坏的软件包 wheezy
问题描述
这是尝试安装时显示的错误。
root@BH13:# 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.
php版本。
root@BH13:# php -v
PHP 5.5.38-1~dotdeb+7.1 (cli) (built: Jul 21 2016 18:33:48)
它不允许我安装 php5-gd 来使用 php 图像库。
这是在sources.list
deb http://http.debian.net/debian/ squeeze-lts main contrib non-free
deb http://packages.dotdeb.org wheezy-php55 all
deb-src http://packages.dotdeb.org wheezy-php55 all
deb http://packages.dotdeb.org wheezy all
deb-src http://packages.dotdeb.org wheezy all
deb http://packages.dotdeb.org squeeze all
这是我更新前的 php 版本:PHP 版本 5.4.45-0+deb7u9
和以前的sources.list
deb http://ftp.nl.debian.org/debian/ wheezy main
deb-src http://ftp.nl.debian.org/debian/ wheezy main
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib
感谢您的支持。
解决方案
推荐阅读
- angular - 如何在 ngx-countdown-timer 中动态更改值
- php - 条件内 scn 目录的最佳方法是什么
- sql - 在 SQL Server 的 where 子句中使用多个条件
- list - 如何在 Idris REPL 中创建一个空列表?
- android - 丰富的推送通知在展开包含图像的通知时不隐藏大图标
- java - 像弹簧一样处理异常
- angular6 - 使用选定主机域的角度 gmail 登录
- javascript - 如何根据值更改我的饼图颜色
- ios - Swift 4 Codable:所有模型的通用结构
- python - 在 jupyter notebook 中安装 fancyimpute 时出错