yum update failed with "unpacking of archive failed on file <dir>: cpio: chown failed "
Issue
- Update of
httpd
package using yum fails with following error :-
Error unpacking rpm package httpd-<version>x86_64
warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
error: unpacking of archive failed on file /etc/rc.d/init.d/httpd: cpio: rename
Failed:
http-<version>
Environment
- Red Hat Enterprise Linux (RHEL All Versions)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.