![Debian:升级到php 5.3,丢失了phpcli、php-pear等](https://linux22.com/image/21293/Debian%EF%BC%9A%E5%8D%87%E7%BA%A7%E5%88%B0php%205.3%EF%BC%8C%E4%B8%A2%E5%A4%B1%E4%BA%86phpcli%E3%80%81php-pear%E7%AD%89.png)
我使用本教程升级到 PHP5.3:http://www.debiantutorials.com/how-to-install-upgrade-to-php-5-3-on-debian-lenny/
它删除了以下软件包:
Removing php-pear ...
Removing php5-pgsql ...
Removing php5-mysql ...
Removing php5-mcrypt ...
Removing php5-ldap ...
Removing php5-gd ...
Removing php5-curl ...
Removing php5-sasl ...
Removing php5-cli ...
一切看起来都很好,它警告我这些软件包将被删除,这很好,我想我可以在之后安装它们。但现在,当我尝试时,它警告我缺少依赖项:
The following packages have unmet dependencies:
php5-cli: Depends: libc6 (>= 2.11) but 2.7-18lenny7 is to be installed
Depends: libdb4.8 but it is not installable
Depends: libgssapi-krb5-2 (>= 1.6.dfsg.2) but it is not installable
Depends: libk5crypto3 (>= 1.6.dfsg.2) but it is not installable
Depends: libkrb5-3 (>= 1.6.dfsg.2) but it is not installable
Depends: libncurses5 (>= 5.7+20100313) but 5.7+20081213-1 is to be installed
Depends: libreadline6 (>= 6.0) but it is not installable
Depends: libssl0.9.8 (>= 0.9.8m-1) but 0.9.8g-15+lenny16 is to be installed
Depends: libxml2 (>= 2.7.4) but 2.6.32.dfsg-5+lenny5 is to be installed
E: Broken packages
我该如何解决此问题并取回这些内容?