Tuesday, 1 October 2013

Extracting a tar ball fails with "Cannot open: Not a directory"

Extracting a tar ball fails with "Cannot open: Not a directory"

I am trying to extract an tarball, I keep getting this error
tar: mediatek/custom/common/lk/lcm/bp101wx1_n/bp101wx1_n.c: Cannot open:
Not a directory
tar: mediatek/custom/common/lk/lcm/hsd070idw1/hsd070idw1.c: Cannot open:
Not a directory
tar: mediatek/custom/common/lk/lcm/nt35582/nt35582.c: Cannot open: Not a
directory
tar:
mediatek/custom/common/lk/lcm/r63311_fhd_dsi_vdo_sharp/r63311_fhd_dsi_vdo_sharp.c:
Cannot open: Not a directory
tar:
mediatek/custom/common/lk/lcm/otm9608_wvga_dsi_cmd/otm9608_wvga_dsi_cmd.c:
Cannot open: Not a directory
tar: mediatek/custom/common/lk/lcm/lg4571/lg4571.c: Cannot open: Not a
directory
tar:
mediatek/custom/common/lk/lcm/hx8363b_wvga_dsi_cmd/hx8363b_wvga_dsi_cmd.c:
Cannot open: Not a directory
tar:
mediatek/custom/common/lk/lcm/lg4573b_wvga_dsi_vdo_lh430mv1/lg4573b_wvga_dsi_vdo_lh430mv1.c:
Cannot open: Not a directory
tar: Exiting with failure status due to previous errors
The original file was a .zip file that contained a .tar.gz file, so I
first used unzip then I used pigz with the -d option to create the tar
file.
I extracted the tar file using tar with xf option.
The tar file is 3.8 GB if that matters

No comments:

Post a Comment