![CentOS 5.8 上的 Subversion 安装错误](https://linux22.com/image/587053/CentOS%205.8%20%E4%B8%8A%E7%9A%84%20Subversion%20%E5%AE%89%E8%A3%85%E9%94%99%E8%AF%AF.png)
我正在尝试使用 centos 5.8 安装 subversion yum install subversion
,但出现以下错误。
.....
....
Total size: 7.3 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
ERROR with rpm_check_debug vs depsolve:
libapr-1.so.0()(64bit) is needed by subversion-1.6.11-10.el5_8.x86_64
libaprutil-1.so.0()(64bit) is needed by subversion-1.6.11-10.el5_8.x86_64
libapr-1.so.0()(64bit) is needed by (installed) mod_perl-2.0.4-6.el5.x86_64
apr is needed by (installed) httpd-2.2.22-12051516.x86_64
/usr/lib64/libapr-1.so.0 is needed by (installed) httpd-2.2.22-12051516.x86_64
libaprutil-1.so.0()(64bit) is needed by (installed) mod_perl-2.0.4-6.el5.x86_64
apr-util is needed by (installed) httpd-2.2.22-12051516.x86_64
/usr/lib64/libaprutil-1.so.0 is needed by (installed) httpd-2.2.22-12051516.x86_64
Complete!
(1, [u'Please report this error in http://bugs.centos.org/yum5bug'])
我该如何解决这个问题?
答案1
最后一行说您应该将此问题报告给 CentOS 错误跟踪器,这通常是您应该做的。但是,您似乎从非 CentOS 存储库安装了 httpd。如果是这样,您必须让我们知道您是如何做到的。
在此期间,您当前问题的答案是:
- 从你的机器中删除非 CentOS 软件包(本例中为 httpd)
- 按照你之前的步骤安装 subversion
或者,您也可以尝试以下方法:
yum downgrade httpd-2.2.3
yum install subversion
然后您应该能够按照之前的方式重建 httpd。