Cannot update or reinstall httpd package, message "error: unpacking of archive failed" is printed

Solution Verified - Updated -

Issue

  • Trying to update httpd package, the installation fails with the following message

    # yum -y update httpd
    [...]
          Installing : httpd-2.4.6-90.el7.x86_64                                                             1/1 
    Error unpacking rpm package httpd-2.4.6-90.el7.x86_64
    error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename
      Verifying  : httpd-2.4.6-90.el7.x86_64                                                             1/1 
    
    Failed:
      httpd.x86_64 0:2.4.6-90.el7                                                                            
    
    Complete!
    

Environment

  • Red Hat Enterprise Linux
    • httpd or rh-httpd* (SCL) packages

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content