Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Can't uncompress download of Firefox 135.0

  • 3 réponses
  • 0 a ce problème
  • 14 vues
  • Dernière réponse par NoahSUMO

more options

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

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

Toutes les réponses (3)

more options

Linux binaries are now provided in XZ format, replacing the previous BZ2 format, offering faster unpacking and smaller file sizes.

Cela vous a-t-il été utile ?

more options

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?

Cela vous a-t-il été utile ?

more options

Actually there's a very short doc for the download.mozilla.org query parameters: https://ftp.mozilla.org/pub/firefox/releases/latest/README.txt

For myself, I had to personally learn them all thru trial and error. Thankfully they're fairly easy to figure out. The above README file is missing a few of the product & OS parameters.

For a list of what file types exist, you can have a look here: https://ftp.mozilla.org/pub/firefox/releases/135.0/linux-x86_64/en-US/ https://ftp.mozilla.org/pub/firefox/releases/135.0/

That area technically shows all the types of builds that can be downloaded. But I don't think you can specify using a parameter on a download.mozilla.org url whether to grab a .xz or .deb package, for example. Neither for Mac to get a .dmg or .pkg. But for the Windows parameter, there should be a way to determine getting a .exe or .msi.

MSI builds for Regular release & ESR: https://download.mozilla.org/?product=firefox-msi-latest-ssl&os=win64&lang=en-US https://download.mozilla.org/?product=firefox-esr-msi-latest-ssl&os=win&lang=en-US https://download.mozilla.org/?product=firefox-esr-msi-latest-ssl&os=win64&lang=en-US

And for Windows ARM64/AArch64: https://download.mozilla.org/?product=firefox-latest-ssl&os=win64-aarch64&lang=en-US

For Linux Nightly builds, there is a Linux ARM64/AArch64 option: https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64-aarch64&lang=en-US

I was able to view & customize the extra product & OS choices on: https://www.mozilla.org/en-US/firefox/all/

Cela vous a-t-il été utile ?

Poser une question

Vous devez vous identifier avec votre compte pour répondre aux messages. Veuillez poser une nouvelle question, si vous n’avez pas encore de compte.