AIX Problem during cpio

Have you downloaded Oracle client for AIX, gunzipped and now unable with the usual command to extract using cpio? I know…maybe this is the right solution

oracle@aixsrv:/app/oracle>cpio -idmv < 10gr2_aix5l64_client.cpio

cpio: 0511-903 Out of phase!
cpio attempting to continue...

cpio: 0511-904 skipping 642010 bytes to get back in phase!
One or more files lost and the previous file is possibly corrupt!

Segmentation fault

That’s bad. The solution is to use the option -idcmv

oracle@aixsrv:/app/oracle>cpio -idcmv < 10gr2_aix5l64_client.cpio

This simply because Oracle Corp. had cpioed installer with -c argument that’s, from manpage, “Reads and writes header information in ASCII character form. If a cpio archive was created using the c flag, it must be extracted with c flag.”

Tags: ,