WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: firefox_getLatest script HTTP 404 Error  (Read 185 times)

Offline Santos

  • Full Member
  • ***
  • Posts: 116
firefox_getLatest script HTTP 404 Error
« on: January 12, 2025, 09:22:44 PM »
--2025-01-12 18:48:05--  http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/135.0b3/linux-x86_64/es-ES/firefox-135.0b3.tar.bz2
Resolving download.cdn.mozilla.net... 34.117.35.28, 2600:1901:0:b9fd::
Connecting to download.cdn.mozilla.net|34.117.35.28|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-01-12 18:48:06 ERROR 404: Not Found.


Hello, when trying to download the latest version of firefox using the script I got the HTTP 404 error, it happens with version 135.0b3.

I luckily was able to manually set the version 134.0b9 and get firefox beta to install on my PC.

Any suggestions?

Thanks!

P.D: I'm using cli links!


Edit1: CorePure64 12

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11755
Re: firefox_getLatest script HTTP 404 Error
« Reply #1 on: January 12, 2025, 09:41:03 PM »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11755
Re: firefox_getLatest script HTTP 404 Error
« Reply #2 on: January 12, 2025, 10:20:59 PM »
Hi Santos
A quick google search revealed Mozilla switched from bz2 to xz
compression last November.

Looking through their repo:
http://download.cdn.mozilla.net/pub/firefox/releases/
I found the last bz2 was version 134.
The first xz was version 135.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 310
Re: firefox_getLatest script HTTP 404 Error
« Reply #3 on: January 13, 2025, 04:44:52 PM »
A quick google search revealed Mozilla switched from bz2 to xz
compression last November.

This blog post says they started using XZ in November for Nightly builds, which the firefox_getLatest.sh script doesn't support anyway.

Looking through their repo:
http://download.cdn.mozilla.net/pub/firefox/releases/
I found the last bz2 was version 134.
The first xz was version 135.

Yes, it looks like they've now applied XZ to FF 135 downloads. However the updates to FF ESR version 128 are still BZ2 downloads.

When I get a chance I'll work on adapting the script for using XZ compressed downloads with FF version 135 and later. 135 isn't due for stable release until the 4th of Feb.

@Santos: Why manually specify the Beta version of FF 134, 134.0b9, when 134.0 is released (and should be downloaded by default if you run firefox_getLatest.sh with '-a' or no arguments)

Offline Santos

  • Full Member
  • ***
  • Posts: 116
Re: firefox_getLatest script HTTP 404 Error
« Reply #4 on: January 20, 2025, 12:00:24 PM »
Hi Santos
A quick google search revealed Mozilla switched from bz2 to xz
compression last November.

Great! I thought it was something serious and I'll be blocked from getting firefox.

Yes, it looks like they've now applied XZ to FF 135 downloads. However the updates to FF ESR version 128 are still BZ2 downloads.

When I get a chance I'll work on adapting the script for using XZ compressed downloads with FF version 135 and later. 135 isn't due for stable release until the 4th of Feb.

Thank you for that!
Once the update comes, do I need to update using  tce  or should I download the tcz from the TC15 repo?

@Santos: Why manually specify the Beta version of FF 134, 134.0b9, when 134.0 is released (and should be downloaded by default if you run firefox_getLatest.sh with '-a' or no arguments)

Because of the  .profile  directory, going from beta to stable is not supported and firefox 'formats' the directory removing everything. I'll test later on if I can just allow firefox to format the profile directory and see if I keep my bookmarks and sync sessions.

Thank you guys.

Offline CNK

  • Wiki Author
  • Sr. Member
  • *****
  • Posts: 310
Re: firefox_getLatest script HTTP 404 Error
« Reply #5 on: January 20, 2025, 05:47:59 PM »
Updated firefox_getLatest extension submitted. It auto-detects bz2/xz on downloads of the latest version, and assumes versions >134 use XZ when the version is specified manually (-m).

Quote from: Santos
When I get a chance I'll work on adapting the script for using XZ compressed downloads with FF version 135 and later. 135 isn't due for stable release until the 4th of Feb.

Thank you for that!
Once the update comes, do I need to update using  tce  or should I download the tcz from the TC15 repo?

tce-update should install the new version, although I like doing things manually so I'd download it and copy it to tce/optional/ (along with the new firefox_getLatest.tcz.md5.txt). I'm not sure of the options in the graphical repo browser since I don't use that. Check the tcz updates log to see when the updated extension is available from the repo.

Offline Santos

  • Full Member
  • ***
  • Posts: 116
Re: firefox_getLatest script HTTP 404 Error
« Reply #6 on: January 20, 2025, 09:31:44 PM »
@CNK Thank you so much!

I'll test it.