Debian Lenny apt-get install php5-cli Unmet 依赖项有帮助吗?

1 debian installation php5 debian-lenny

第一次海报 - 长期读者和学习者。

已经尝试了 2 周来在 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
Run Code Online (Sandbox Code Playgroud)

这是我的基本 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
Run Code Online (Sandbox Code Playgroud)

有人可以指导我正确的方向来整理我的 php5.x 安装吗?(我也希望 -cli 可用 - 它是一个 Zabbix 监控服务器)。

谢谢,

爱德华

Mik*_*ott 5

在您的sources.list 中将“stable”更改为“lenny”(或“oldstable”)——“stable”现在是squeeze,而不是lenny,所以您正在尝试安装php5-cli 的squeeze 版本,它依赖于批次其他挤压包。