我无法使subversion在centOS 6.4上工作。在安装mod_dav_svn时,我会得到httpd解压缩错误。我得到了以下错误。
Running Transaction
Installing : subversion-1.6.11-9.el6_4.x86_64 1/3
Installing : httpd-2.2.15-29.el6.centos.x86_64 2/3
Error unpacking rpm package httpd-2.2.15-29.el6.centos.x86_64
warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
Installing : mod_dav_svn-1.6.11-9.el6_4.x86_64 3/3
Verifying : mod_dav_svn-1.6.11-9.el6_4.x86_64 1/3
Verifying : subversion-1.6.11-9.el6_4.x86_64 2/3
Verifying : httpd-2.2.15-29.el6.centos.x86_64 3/3
Installed:
mod_dav_svn.x86_64 0:1.6.11-9.el6_4 subversion.x86_64 0:1.6.11-9.el6_4
Failed:
httpd.x86_64 0:2.2.15-29.el6.centos任何帮助或建议都将是值得赞赏的。谢谢
发布于 2013-08-25 22:51:12
作为参考,下面是您给我们的错误消息:
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory问题是/etc/httpd/logs不应该是一个目录。这应该是个象征性的链接。这就是它在实时系统中的样子:
lrwxrwxrwx. 1 root root 19 Aug 24 23:39 /etc/httpd/logs -> ../../var/log/httpd因此,将/etc/httpd/logs目录移到其他地方,然后尝试运行更新。
发布于 2013-08-25 13:07:09
尝试清除yum的缓存
# yum clean all再试一次。此外,您也可以尝试直接从服务器下载rpm。
# wget http://mirror.mirohost.net/centos/6.4/updates/x86_64/Packages/httpd-2.2.15-29.el6.centos.x86_64.rpm
# rpm -ivh httpd-2.2.15-29.el6.centos.x86_64.rpmhttps://serverfault.com/questions/533600
复制相似问题