Can't uncompress download of Firefox 135.0
Hello, We use the following code (in a Dockerfile) to download the latest Firefox for testing.
curl -fsSL -o /tmp/firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-latest-ssl&os=linux64&lang=en-US" && tar -C /tmp -xjf /tmp/firefox.tar.bz2 firefox
Starting with 135.0 the tar command fails with:
bzip2: (stdin) is not a bzip2 file. tar: Child returned status 2 tar: Error is not recoverable: exiting now
134.0.2 works: curl -fsSL -o /tmp/firefox.tar.bz2 "https://download.mozilla.org/?product=firefox-134.0.2....
A couple questions: - What has changed? Is there some other way we need to download and uncompress? - Is there any documentation of the supported query params for https://download.mozilla.org
Thanks, Paul
تمام جوابات (2)
Linux binaries are now provided in XZ format, replacing the previous BZ2 format, offering faster unpacking and smaller file sizes.
Thanks TyDraniu. That worked, once I installed the xz package.
Is there any doc for the https://download.mozilla.org query params? With list of files that can be downloaded? Is that URL supported? Or is there another preferred URL?