我尝试在我的 debian squeeze 机器上安装对 php 5 的 curl 支持,但遇到了问题。
尝试安装 curl 后,我遇到了依赖问题,我尝试通过删除引发问题的程序来解决该问题。一件事又引发另一件事,当我尝试执行 apt-get upgrade 时,我目前发现有大约 29 个问题。这些问题包括无法配置、依赖性和无法删除错误。
我尝试使用 apt-get upgrade -f 并使用 dpkg 命令安装软件包。我尝试使用 purge 和 force 进行删除。我手动删除了一些东西来尝试修复它。我尝试运行 dpkg --configure -a。我不得不说我对 Linux 还很陌生,所以我没有主意,似乎无法在网上找到与我的问题相匹配的答案。
以下是 apt-get upgrade 命令输出的一部分:
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
29 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up libgeoip1 (1.4.7~beta6+dfsg-1) ...
Bus error
dpkg: error processing libgeoip1 (--configure):
subprocess installed post-installation script returned error exit status 135
Setting up libisc62 (1:9.7.3.dfsg-1~squeeze3) ...
Bus error
dpkg: error processing libisc62 (--configure):
subprocess installed post-installation script returned error exit status 135
dpkg: dependency problems prevent configuration of libdns69:
libdns69 depends on libgeoip1 (>= 1.4.7~beta6+dfsg); however:
Package libgeoip1 is not configured yet.
libdns69 depends on libisc62; however:
Package libisc62 is not configured yet.
dpkg: error processing libdns69 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libisccc60:
libisccc60 depends on libisc62; however:
Package libisc62 is not configured yet.
dpkg: error processing libisccc60 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libisccfg62:
libisccfg62 depends on libdns69; however:
Package libdns69 is not configured yet.
.. 继续
Errors were encountered while processing:
libgeoip1
libisc62
libdns69
libisccc60
libisccfg62
libbind9-60
liblwres60
bind9-host
libavahi-core7
libdaemon0
avahi-daemon
libexif12
libffi5
libgomp1
libgphoto2-port0
libgphoto2-2
libperl5.10
libsensors4
libsnmp15
libhpmud0
libieee1284-3
libnss-mdns
libossp-uuid16
libpq5
libv4l-0
libsane
libsane-hpaio
libssh2-1
python-gobject
dpkg--configure-a
Setting up libpq5 (8.4.8-0squeeze2) ...
Bus error
dpkg: error processing libpq5 (--configure):
subprocess installed post-installation script returned error exit status 135
Setting up libperl5.10 (5.10.1-17squeeze2) ...
Bus error
dpkg: error processing libperl5.10 (--configure):
subprocess installed post-installation script returned error exit status 135
Setting up libffi5 (3.0.9-3) ...
Bus error
dpkg: error processing libffi5 (--configure):
subprocess installed post-installation script returned error exit status 135
Setting up libexif12 (0.6.19-1) ...
.. 继续
非常欢迎提出建议,我真的不知道该怎么办。
迈克尔。
答案1
您的系统以某种非常奇怪的方式出现故障。如果ldconfig
是导致安装后脚本返回 的原因135
,那是因为ldconfig
因 SIGFPE(浮点异常)而死机。这要么指向一个非常奇怪的错误ldconfig
(可能性很小),要么指向某种潜在的硬件错误(可能性更大)。
如果您想进一步诊断此问题,您可以尝试ldconfig
在调试器中运行并查看会发生什么,但是无法快速修复此问题,并且我仍认为是硬件故障。