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

Solution Verified - Updated -


  • 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 
      httpd.x86_64 0:2.4.6-90.el7                                                                            


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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In