yum update failed with "unpacking of archive failed on file <dir>: cpio: chown failed "
Issue
- Update of
httpdpackage 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
