Fixed error «cpio: Digest mismatch»
When trying to install freetype rpm package, RPM was throwing the following error
Error: unpacking of archive failed on file /usr/lib64/libfreetype.so.6.3.22;588f3db1: cpio: Digest mismatch
After lot of googling I found it is related to the prelinking. You will encounter this error when trying to install an RPM built for a newer system such as RHEL6 on an older system like RHEL5.
If you want to get rid of this error you can skip digest checking in rpm , use the following verify option
How to Fix “cpio: Digest mismatch” error?
Rpm -ivh –nofiledigest yourpackage.rpm
This command disables the digest check during package installation, and there wont be any errors related to digest check