【发布时间】:2016-10-10 12:32:15
【问题描述】:
我在我的开发服务器上运行 Debian 测试。不幸的是,我必须同时使用 mysqli(不包含在 php7 中)和 php-gd。
cat /etc/issue
Debian GNU/Linux stretch/sid
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: 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 根本不包含在测试中。 https://packages.debian.org/sid/libvpx1
【问题讨论】: