WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: firefox_getLatest  (Read 1394 times)

Offline chattrhand

  • Full Member
  • ***
  • Posts: 140
firefox_getLatest
« on: November 16, 2022, 06:27:37 PM »
Hi TinyCore Team,

I'm trying to use firefox_getLatest.tcz  (latest version) on tce 13.1 but it stopped  with this message:

Code: [Select]
Fetching dependencies..
 Verifying connection to server, please wait...
 connection ok

 Acquiring latest version..

 The Latest version is 107.0
 
 Downloading Firefox..
 
--2022-11-16 23:17:27--  http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/107.0/linux-x86_64/en-US/firefox-107.0.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
2022-11-16 23:17:27 ERROR 404: Not Found.


 Unpacking Archive..
tar: invalid magic
tar: short read
 Corrupt archive, please re-start operation 
...

Seemingly a temporary problem.

Thank you for Your help
TinyCore, SliTaz, LinuxMint, Tails, Mac ...

Offline Col

  • Newbie
  • *
  • Posts: 2
Re: firefox_getLatest
« Reply #1 on: November 16, 2022, 07:21:01 PM »
It's been like that for about a week or so. I got around it by editing /usr/local/bin/firefox_getLatest.sh and changing this line:
Code: [Select]
ffdownload="http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/34.0.5/linux-i686/en-US/firefox-34.0.5.tar.bz2"to this
Code: [Select]
ffdownload="https://ftp.mozilla.org/pub/firefox/releases/34.0.5/linux-x86_64/en-US/firefox-34.0.5.tar.bz2"

Offline CNK

  • Full Member
  • ***
  • Posts: 249
Re: firefox_getLatest
« Reply #2 on: November 16, 2022, 11:34:58 PM »
Yes I discovered that yesterday. Actually download.cdn.mozilla.net still works, Mozilla just removed the mozilla.org directory, so I changed that line to:

Code: [Select]
ffdownload="http://download.cdn.mozilla.net/pub/firefox/releases/34.0.5/linux-i686/en-US/firefox-34.0.5.tar.bz2"

But I was too tired last night to package it up and submit a new extension, I'll probably get to it later today.

It also managed to make my root FS read-only somehow after the download failed, forcing a reboot, after a failed attempt to rebuild mydata.tgz, which still copied the last one to mydatabk.tgz, so it wasn't found at the next boot, which caused me a lot more confusion because then I could no longer access it remotely. I should try to work out where that went so wrong as well really.

Offline CNK

  • Full Member
  • ***
  • Posts: 249
Re: firefox_getLatest
« Reply #3 on: November 17, 2022, 04:20:08 AM »
As it happens the old URL has suddenly started working again for me, but anyway an updated extension with /mozilla.org removed from the URL has been submitted.

It also now exits if the download fails rather than trying to continue regardless.