在CentOS 7上,yum update httpd失败了

时间:2017-11-08 11:03:37

标签: apache updates centos7 yum

我正在尝试更新Cent OS 7.2框以进行合规性活动。它失败并出现错误“错误:文件/ usr / sbin / suexec上的存档解包失败; 5a02e28f:cpio:cap_set_file”如下所示,

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!

它适用于另一个类似的盒子。检查了很多博客和redhat bugzilla,但没有出路。任何人都有任何线索发生在这里?

1 个答案:

答案 0 :(得分:0)

这是一个移动问题 - https://github.com/moby/moby/issues/6980。尝试更改docker存储驱动程序/主机操作系统。