I ran into this error while installing the IBM Java RPM on Red Hat Enterprise Linux:
error: unpacking of archive failed on file /opt/ibm/java-x86_64-60: cpio: chown failed - Invalid argument
The issue is due to /opt/ibm being an NFS mount on the system. There are known issues with running the chown command on NFS 4. One workaround is to specify NFS protocol version 3:
mount -t nfs -o vers=3 127.0.0.1:/share /mnt
In my case, the NFS mount was specified in /etc/fstab, so I modified the relevant line there to say:
127.0.0.1:/opt/ibm /opt/ibm nfs rw,vers=3 0 0