Symptoms
Apache packages failed to update properly and there is an error similar to:
error: unpacking of archive failed on file /path/to/a/file: cpio: rename
Description
When yum attempts to update packages but encounters files that are made immutable through the use of the 'chattr +i' command, an error similar to the above can be seen. This can cause various issues with the service as a whole such as preventing it from starting correctly.
Workaround
Check the attributes of the file listed in the error with:
lsattr /path/to/a/file
Example:
lsattr /usr/lib/udev/rules.d/60-net.rules
----i----------- /usr/lib/udev/rules.d/60-net.rules
The 'i' denotes that it is immutable, remove this attribute with:
chattr -i /usr/lib/udev/rules.d/60-net.rules