-
GPSIM untar errors out
Trying to install software to check out my PIC (Microchip) asm but when I use:
tar tvzf gpsim-0.24.0.tat.gz
I get:
...
-rwxr-xr-x 500/500 842579 2009-08-23 21:36 gpsim-0.24.0/configure
-rw-r--r-- 500/500 274638 2009-08-23 21:36 gpsim-0.24.0/aclocal.m4
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
I know this is saying it found EOF but what is the gzip stuff. it the file possibly corrupted??
This was downloaded from SourceForge. OR, is this truely where the file should end??
-
Have you tried unziping the file first? I usually do this:
Code:
gunzip -c gpsim-0.24.0.tar.gz | tar -xvf -
That also leaves the original compressed tarball intact, but does the decompression outside of tar doing the extraction.
-
GPSIM untar errors out
Tried your suggestion, Rubberman, fortunately tar xvzf works just like gunzip & tar xvf but this made me reflect and trying gunzip -t also indicated that file might be corrupted. Downloaded another and it now is OK.