Debian Lenny apt-get安装php5-cli未满足的依赖关系有帮助吗?

第一次海报 – 长时间的读者和学习者。

现在已经尝试了两个星期,以解决在Debian 5(lenny)盒子上搞乱了PHP5.3的安装。 每次我尝试apt-get install php5-cli时,我都会收到一个未满足的依赖关系的瀑布,我真的不知道从哪里开始,或者如何将这个盒子放回原位。

这是我的未满足的依赖列表:

Reading package lists... Done Building dependency tree Rlibc6 is already the newest version. 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-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: libonig2 (>= 5.2.0) but it is not installable Depends: libqdbm14 (>= 1.8.74) but it is not installable Depends: libreadline6 (>= 6.0) but it is not installable Depends: libxml2 (>= 2.7.4) but 2.6.32.dfsg-5+lenny3 is to be installed E: Broken packages 

这是我的基本apt / sources.list:

 # # /etc/apt/sources.list # deb http://http.us.debian.org/debian stable all deb http://security.debian.org/ stable/updates main contrib deb http://packages.dotdeb.org/ stable all 

有人可以请指导我在正确的方向来理清我的php5.x安装? (我也想要-cli可用 – 这是一个Zabbix监控服务器)。

谢谢,

爱德华

在你的sources.list中将“stable”改为“lenny”(或“oldstable”) – “stable”现在是挤压,而不是lenny,所以你试图安装php5-cli的挤压版本,其他挤包。