WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Fixed] getFlash11 - Update  (Read 7956 times)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
[Fixed] getFlash11 - Update
« on: November 11, 2015, 03: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:
Code: [Select]
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

:)

« Last Edit: November 11, 2015, 03:44:59 PM by coreplayer2 »

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: [Fixed] getFlash11 - Update
« Reply #1 on: June 02, 2016, 09:00:25 AM »
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:
Code: (bash) [Select]
wget "$DOWNLOAD" > /dev/null 2>&1To
Code: (bash) [Select]
wget --no-check-certificate "$DOWNLOAD" > /dev/null 2>&1
« Last Edit: June 02, 2016, 09:03:57 AM by patrikg »

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: [Fixed] getFlash11 - Update
« Reply #2 on: June 02, 2016, 10:17:58 AM »
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.


Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: [Fixed] getFlash11 - Update
« Reply #3 on: June 02, 2016, 02:45:43 PM »
Command:
Code: [Select]
wget https://fpdownload.adobe.com/get/flashplayer/pdc/11.2.202.621/install_flash_player_11_linux.i386.tar.gz
Output:
Code: [Select]
--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.

Code: [Select]
--no-check-certificate
This fixes it for me as well.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: [Fixed] getFlash11 - Update
« Reply #4 on: June 02, 2016, 02:48:53 PM »
Thanks for the info.  Which wget are you using please?

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: [Fixed] getFlash11 - Update
« Reply #5 on: June 02, 2016, 02:51:52 PM »
Oh, of course.
GNU wget fails without "--no-check-certificate".
Busybox wget works fine.
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: [Fixed] getFlash11 - Update
« Reply #6 on: June 02, 2016, 02:54:48 PM »
Ah ha!  ok thanks  I'll make the necessary adjustment to use busybox version by default for consistency

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: [Fixed] getFlash11 - Update
« Reply #7 on: June 06, 2016, 04:27:58 PM »
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)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: [Fixed] getFlash11 - Update
« Reply #8 on: June 06, 2016, 06:25:36 PM »
Works. Thanks!
Code: [Select]
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?
Download a copy and keep it handy: Core book ;)

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: [Fixed] getFlash11 - Update
« Reply #9 on: June 06, 2016, 07:21:58 PM »
You mean this
Code: [Select]
/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

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: [Fixed] getFlash11 - Update
« Reply #10 on: June 07, 2016, 05:54:30 AM »
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.
Download a copy and keep it handy: Core book ;)

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: [Fixed] getFlash11 - Update
« Reply #11 on: June 10, 2016, 01:48:10 PM »
Today i just edit the file and added busybox in front of the wget command like this.
Worked great.
From:
Code: (bash) [Select]
wget "$DOWNLOAD" > /dev/null 2>&1
To:
Code: (bash) [Select]
busybox wget "$DOWNLOAD" > /dev/null 2>&1

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: [Fixed] getFlash11 - Update
« Reply #12 on: June 10, 2016, 01:59:29 PM »
hi patrikg,  the updated script/extension doesn't need "busybox wget..."   busybox is set globally

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 713
Re: [Fixed] getFlash11 - Update
« Reply #13 on: June 10, 2016, 02:29:19 PM »
Yes of course, but if you have load wget it will fail.
Because the loaded wget gets first in the search path.