2017-11-08 18 views
2

준수 작업을 위해 Cent OS 7.2 상자를 업데이트하려고합니다. 그것은 오류와 함께 실패 "오류 : 아카이브의 포장을 풀고 파일에 실패는/usr/sbin에/suexec를, 5a02e28f : CPIO : cap_set_file"아래로,CentOS 7에서 yum 업데이트 httpd가 실패했습니다.

15-186 ~# yum update httpd   
Loaded plugins: fastestmirror 
Loading mirror speeds from cached hostfile 
* base: mirror.scalabledns.com 
* epel: mirror.oss.ou.edu 
* extras: ftp.usf.edu 
* updates: ftp.usf.edu 
Resolving Dependencies 
--> Running transaction check 
---> Package httpd.x86_64 0:2.4.6-40.el7.centos will be updated 
---> Package httpd.x86_64 0:2.4.6-67.el7.centos.6 will be an update 
--> Finished Dependency Resolution 

Dependencies Resolved 

============================================================================================================================================================================================================================================== 
Package            Arch             Version                Repository            Size 
============================================================================================================================================================================================================================================== 
Updating: 
httpd            x86_64            2.4.6-67.el7.centos.6            updates            2.7 M 

Transaction Summary 
============================================================================================================================================================================================================================================== 
Upgrade 1 Package 

Total download size: 2.7 M 
Is this ok [y/d/N]: y 
Downloading packages: 
Delta RPMs disabled because /usr/bin/applydeltarpm not installed. 
httpd-2.4.6-67.el7.centos.6.x86_64.rpm                                             | 2.7 MB 00:00:00  
Running transaction check 
Running transaction test 
Transaction test succeeded 
Running transaction 
    Updating : httpd-2.4.6-67.el7.centos.6.x86_64                                               1/2 
Error unpacking rpm package httpd-2.4.6-67.el7.centos.6.x86_64 
error: unpacking of archive failed on file /usr/sbin/suexec;5a02e28f: cpio: cap_set_file 
httpd-2.4.6-40.el7.centos.x86_64 was supposed to be removed but is not! 
    Verifying : httpd-2.4.6-40.el7.centos.x86_64                                               1/2 
    Verifying : httpd-2.4.6-67.el7.centos.6.x86_64                                               2/2 

Failed: 
    httpd.x86_64 0:2.4.6-40.el7.centos                     httpd.x86_64 0:2.4.6-67.el7.centos.6                     

Complete! 

그것은 다른 유사한 상자에 일했다. 많은 blogs와 redhat bugzilla를 점검했지만 빠져 나갈 방법이 없습니다. 아무도 여기 무슨 일이 일어나고 있는지 전혀 모르겠다.

+0

루트로 실행 했습니까? –

+0

예. 나는 그것을 루트로 실행했다. 그것은 하나의 상자에서 작동했지만 다른 실패했습니다. – Amrit

+0

마지막으로이 상자의 최신 OS를 다시 설치했습니다. 이 문제는 해결되지만 실제 문제는 해결되지 않았습니다. – Amrit

답변