3.2 Corrupted Binary Files

Question: [UNIX]
gzip says “stdin not in gzip format”.

This means that the input piped to gzip has been corrupted in some way. The most likely cause is that the original file file.tar.gz was downloaded incorrectly, typically in ASCII mode instead of binary mode.