.tgz file- tar: Unrecognized archive format

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: lawrence@krubner.com

I got this error during a build:

.tgz file- tar: Unrecognized archive format

Turned out I was working against a mirror that was no longer being updated. I had read instructions telling me to set a particular URL for a mirror in my .zshrc file, but the mirror was out of date to whatever was downloaded was wrong.

This was a tough bug.

Source