【问题标题】:PHP5-GD in Debian Testing missing Dependency libvpx1Debian 测试中的 PHP5-GD 缺少依赖项 libvpx1
【发布时间】: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

【问题讨论】:

    标签: php debian apt php-gd


    【解决方案1】:

    好吧,这很简单:

    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
    

    工作。

    【讨论】:

    • 你刚刚拯救了我的夜晚 :)
    • 这就是为什么我总是发布自己的答案:)
    猜你喜欢
    • 1970-01-01
    • 2021-10-26
    • 2012-07-16
    • 2017-09-13
    • 2011-07-20
    • 2017-12-25
    • 2015-04-18
    • 2020-03-24
    • 2012-07-12
    相关资源
    最近更新 更多