Hi folks,

This morning I ran into an issue when trying to extract the official Go binary tarball (go1.25.4.linux-amd64.tar.gz). It appears there is an incompatibility between the archive format, which started with Go 1.25.3, and GNU tar version 1.35.

I am running Fedora Workstation 43 (also tested with Fedora 42 WSL with the same result). My tar version is 1.35. All Go tarballs up to go1.25.2 work correctly.

When I attempt the standard extraction using GNU tar, the command fails:

(source tarball: https://go.dev/dl/go1.25.4.linux-amd64.tar.gz)

rm -rf /usr/local/go && tar -C /usr/local -xzf go1.25.4.linux-amd64.tar.gz

The error message I receive is:

tar: Das sieht nicht wie ein „tar“-Archiv aus.
tar: Springe zum nächsten Kopfteil.
tar: Beende mit Fehlerstatus aufgrund vorheriger Fehler

The English translation is:

tar: This does not look like a "tar" archive.
tar: Skipping to next header.
tar: Exiting with failure status due to previous errors

However, I found a successful workaround. If I use the gunzip utility to decompress the file and pipe the output to tar, the extraction works:

gunzip -c go1.25.4.linux-amd64.tar.gz | tar -xzvf -

I also tested using bsdtar version 3.8.1, which works flawlessly.

This makes me think that the archive itself is not corrupt, but that the built-in Gzip handling within GNU tar 1.35 is failing to process the specific Gzip format used for these newer Go tarballs (I didn't .

Please let me know if you need any additional information from my side to investigate this.

Best regards,
Johannes

--
Johannes Kunde <[email protected]>


Reply via email to