When attempting to untar an archive you may see the following error:

tar -zxvf archive.tar
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

This tar may have been created without compression. In that case just remove the -z option. If this still does not work the tar file may be corrupt. Try confirming the file type using the “file” command:

file archive.tar
html.tar: POSIX tar archive

Leave a Reply