Tiny Core Linux
Tiny Core Extensions => TCE News => Topic started by: coreplayer2 on November 11, 2015, 12:13:11 PM
-
Another cat and mouse game, this time Adobe is the culprit.
After Pandora refused to play without Flash's latest security updates, I was forced to resolve the issue.
It appears that as of yesterday adobe changed their downloads directory structure, as a result the link to download the latest Flash v11.2.202.548 is broken. This didn't just break our getFlash11 but appears to have also broke most major Linux Distributions "get Flash" scripts running curl to auto find the download link.
The latest Flash download is located under a directory using it's version number, kinda a catch 22 scenario. However the issue is fixed with:
DOWNLOAD=$(curl -s 'https://get.adobe.com/flashplayer/download/?installer=Flash_Player_11.2_for_other_Linux_(.tar.gz)_32-bit&standalone=1' | grep -o 'https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.*/install_flash_player_11_linux.i386.tar.gz')
I'm submitting the updated getFlash11 extension asap, meanwhile if anyone needs the fixed script to install or update Flash11 with latest security updates; Please download the attached script, set exec perms and run it to update your flash11 extension
:)
-
Sorry for hijacking this thread, but...
To make this good script to work again, you need to add "--no-check-certificate" in line 84
From:
wget "$DOWNLOAD" > /dev/null 2>&1
To
wget --no-check-certificate "$DOWNLOAD" > /dev/null 2>&1
-
Sorry for hijacking this thread, but...
All suggestions welcome thanks.
While I understand there has been a recent update with wget isn't this fix dependent on the wget version, so I question arises "are some folks going to have issues if we make this change?" Or perhaps we should force busybox?
thoughts? while my copy of the script still works flawlessly.
-
Command:
wget https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.621/install_flash_player_11_linux.i386.tar.gz
Output:
--2016-06-02 20:40:53-- https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.621/install_flash_player_11_linux.i386.tar.gz
Resolving fpdownload.adobe.com (fpdownload.adobe.com)... 23.222.27.248
Connecting to fpdownload.adobe.com (fpdownload.adobe.com)|23.222.27.248|:443... connected.
ERROR: The certificate of ‘fpdownload.adobe.com’ is not trusted.
ERROR: The certificate of ‘fpdownload.adobe.com’ hasn't got a known issuer.
--no-check-certificate
This fixes it for me as well.
-
Thanks for the info. Which wget are you using please?
-
Oh, of course.
GNU wget fails without "--no-check-certificate".
Busybox wget works fine.
-
Ah ha! ok thanks I'll make the necessary adjustment to use busybox version by default for consistency
-
Updated getFlash11 extension submitted for both x86 and corepure64 repo's
should be in repo soon
attached is x86 version (must be used with previous getFlash11 extension to include audio components)
-
Works. Thanks!
00:20:18 tc@box:/tmp/$> ./getFlash11.sh
squashfs-tools is already downloaded.
squashfs-tools is already installed!
bash is already downloaded.
bash is already installed!
gtk2 is already downloaded.
gtk2 is already installed!
nss is already downloaded.
nss is already installed!
curl is already downloaded.
curl is already installed!
/usr/bin/wget: symbolic link to ../../bin/busybox
Downloading Adobe Flash...
Done.
Copying files and setting permissions...
Done.
Creating tcz extension in /mnt/sda3/tce-7.x/optional...
Done.
flash11.tcz: OK
flash11.tcz is now in /mnt/sda3/tce-7.x/optional and installed.
00:21:23 tc@box:/tmp/$>
What about 'not' muting wget's output?
-
You mean this
/usr/bin/wget: symbolic link to ../../bin/busybox
??
I left it in for this version just as confirmation that we were in fact using busybox version
-
No, I mean the download process bar.
Downloading 10 MB through 56Kb modem takes about 30 minutes. If the download is stalled I might have no indication.
-
Today i just edit the file and added busybox in front of the wget command like this.
Worked great.
From:
wget "$DOWNLOAD" > /dev/null 2>&1
To:
busybox wget "$DOWNLOAD" > /dev/null 2>&1
-
hi patrikg, the updated script/extension doesn't need "busybox wget..." busybox is set globally
-
Yes of course, but if you have load wget it will fail.
Because the loaded wget gets first in the search path.