Debian测试中缺少依赖项libvpx1的PHP5-GD

Debian测试中缺少依赖项libvpx1的PHP5-GD,php,debian,apt,php-gd,Php,Debian,Apt,Php Gd,我在我的开发服务器上运行Debian测试。不幸的是,我必须同时使用mysqli(它不包括在php7中)和phpgd cat/etc/问题 Debian GNU/Linux stretch/sid apt get安装php5 gd Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed.

我在我的开发服务器上运行Debian测试。不幸的是,我必须同时使用mysqli(它不包括在php7中)和phpgd

cat/etc/问题

Debian GNU/Linux stretch/sid
apt get安装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: libvpx1 (>= 1.0.0) but it is not installable
E: Unable to correct problems, you have held broken packages.
更多来源.list

deb http://ftp.de.debian.org/debian testing main contrib non-free
deb-src http://ftp.de.debian.org/debian testing main contrib non-free

deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
我在某处找到了信息,即测试中不再包含所需的libvpx1。但我仍然需要它。看来我得手动安装了。你推荐哪条路


顺便说一句,apt get install-f等并不能解决问题,因为测试中根本不包括libvpx1

好的,这个很简单:

wget http://ftp.de.debian.org/debian/pool/main/libv/libvpx/libvpx1_1.3.0-3_amd64.deb
sudo dpkg -i libvpx1_1.3.0-3_amd64.deb
apt-get install php5-gd

工作。

你刚刚救了我一个晚上:)这就是为什么我总是发布自己的答案:)