Thanks, but it must be past my ability level. I'll just keep using flashblock. Adobe stuff isn't necessary for what I do these days anyway. Flash is only good for getting ads anymore.Geoffrey wrote:EdD wrote:Geoffrey wrote:Fixed Adobe Flash Player Auto Updater, see first post for new package version 1.8
The directory /root/.update_flash is most likely still in existence from the previous failed attempt, delete it and then it should work
Adobe Flash Player Auto Updater
Dell optiplex 780, Intel Core 2 Duo CPU E7500 @ 2.93GHz, 4g RAM, w/ATI RV620 LE Radeon HD 3450. Currently running a full install of Slacko 6.3.0 ( 32 bit version).
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
@ Argolance:-
Half the trouble with trying to use the auto-updater scripts is Adobe's insistence on playing 'musical URLs'. They keep changing the source URLs where you can obtain the downloads from.
Myself, I always use the Flash Checker page from Adobe:-
http://www.adobe.com/uk/software/flash/about/
....and follow it up by using the link further down the page:-
https://www.adobe.com/go/getflash
.....to d/l the latest version. I then unzip the tarball with UExtract, and stick libflashplayer.so in /usr/lib/mozilla/plugins. A bit on the 'manual' side, perhaps, but it keeps me up-to-date.
You're not the only one having trouble getting hold of the latest version, 'cos trying to navigate through Adobe's site is a bit like trying to tiptoe through a minefield. It's a f***ing nightmare, mate.
------------------------------------------------------------
We'll only have about another year of this, anyway; at the end of 2020, Flashplayer/PepperFlash will have gone the way of the dodo, and become extinct. At that point in time, all websites will have to go HTML5-only; either that, or they'll start losing traffic, big-time.
Some webmasters are playing the 'waiting-game', and are hanging on for grim death until the deadline, at which point they'll have no choice but to re-code their sites.....
Mike.
Half the trouble with trying to use the auto-updater scripts is Adobe's insistence on playing 'musical URLs'. They keep changing the source URLs where you can obtain the downloads from.
Myself, I always use the Flash Checker page from Adobe:-
http://www.adobe.com/uk/software/flash/about/
....and follow it up by using the link further down the page:-
https://www.adobe.com/go/getflash
.....to d/l the latest version. I then unzip the tarball with UExtract, and stick libflashplayer.so in /usr/lib/mozilla/plugins. A bit on the 'manual' side, perhaps, but it keeps me up-to-date.
You're not the only one having trouble getting hold of the latest version, 'cos trying to navigate through Adobe's site is a bit like trying to tiptoe through a minefield. It's a f***ing nightmare, mate.
------------------------------------------------------------
We'll only have about another year of this, anyway; at the end of 2020, Flashplayer/PepperFlash will have gone the way of the dodo, and become extinct. At that point in time, all websites will have to go HTML5-only; either that, or they'll start losing traffic, big-time.
Some webmasters are playing the 'waiting-game', and are hanging on for grim death until the deadline, at which point they'll have no choice but to re-code their sites.....
Mike.
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Bonjour,
Thank you Mike for your answer.
Yes indeed: one nightmare among many because it's not the only field in which you have to travel on tiptoe!
I still wonder what is the point of such a survival strategy? They're bored and have nothing else to do?
Cheers!
Thank you Mike for your answer.
Ah ah!trying to navigate through Adobe's site is a bit like trying to tiptoe through a minefield. It's a f***ing nightmare, mate.
Yes indeed: one nightmare among many because it's not the only field in which you have to travel on tiptoe!
I still wonder what is the point of such a survival strategy? They're bored and have nothing else to do?
Cheers!
@ Argolance:-
Merci beaucoup, c'est très gentil à vous.
Merci beaucoup, c'est très gentil à vous.
- Attachments
-
- GetFlash.png
- (29.19 KiB) Downloaded 528 times
Regards ETP
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]
[url=http://tinyurl.com/pxzq8o9][img]https://s17.postimg.cc/tl19y14y7/You_Tube_signature80px.png[/img][/url]
[url=http://tinyurl.com/kennels2/]Kennels[/url]
You're not alone. Fortunately, Flash isn't important to me anymore. I would like to be able to delete all the flash update files, but some persist anyway. Several minutes after starting FF, I get the message that the updater failed, where I used to get it right after startup of the system.Argolance wrote:Bonjour,
Am I the only one who hasn't been able to update the flash player for some time?
Cordialement.
Dell optiplex 780, Intel Core 2 Duo CPU E7500 @ 2.93GHz, 4g RAM, w/ATI RV620 LE Radeon HD 3450. Currently running a full install of Slacko 6.3.0 ( 32 bit version).
I think the script from Geoffrey at first post needs an update because of a change at the adobe end, changing the "about" url: 'adobe.com/software/flash/about/' to: 'get.adobe.com/flashplayer/about/' makes it work again for me, here's modified script:
EDIT: Also attached: update_flash-1.8-1.pet including this change.
Fred
Code: Select all
#!/bin/bash
# By Geoffrey, do with as you please.......
# 15052017
# Update Flash v1.8
# Used sed in place of perl as suggested by sfs
# yad no longer a dependency, uses gtkdialog
# fixed url not found "get.adobe.com/flashplayer/" from some locale's, get update version info from alternate url "adobe.com/software/flash/about" rg66
# fix linux detection by sfs
# 14122016 final, Linux flashplayer now follows Firefox - NPAPI
# 20022017 reverted back to using busybox strings to get libflashplayer.so version number
# now only looks for new version @ adobe.com/software/flash/about
# URL fix 15052017
# fredx181, 27102019, fix: change "about" url: 'adobe.com/software/flash/about/' to 'get.adobe.com/flashplayer/about/'
FLASH_UPDATER="$(readlink -e "$0")"
sleep 0.3
if [ `pidof "$(basename "$FLASH_UPDATER")" -o %PPID | wc -w` -gt 1 ]; then
gtkdialog-splash -icon "/usr/share/pixmaps/flash-player-properties.png" -timeout 6 -fontsize x-large -text "
Flash Updater is running.
" &
exit 1
fi
if [ ! -f ~/.flash_update/index.html ]; then
IFCONFIG="`ifconfig | grep '^[pwe]' | grep -v 'wmaster'`"
while [ "$IFCONFIG" != "" ]; do
sleep 1
ping -c 1 8.8.8.8
if [ $? -eq 0 ];then
break
else
ping -c 1 www.google.com
if [ $? -eq 0 ];then
break
fi
fi
done &> /dev/null
fi
function DOWNLOAD_FLASH(){
URL='fpdownload.adobe.com/get/flashplayer/pdc/'$LATEST_VERSION'/flash_player_npapi_linux.i386.tar.gz'
wget -t 2 -T 20 --waitretry=20 --spider -S "$URL" > ~/.flash_update/filesize 2>&1
SIZE=`echo $(awk '/^Length: / {print $3}' ~/.flash_update/filesize) | sed 's/^.\(.*\).$/\1/'`
export DOWNLOADER_GUI='
<window title="Download Flash Player Update" icon-name="flash-player-properties" border-width="10" resizable="false">
<vbox>
<progressbar width-request="300">
<label>Please Wait...</label>
<input>wget --no-check-certificate -4 -c -t 5 -w 5 -P ~/.flash_update '$URL' 2>&1 | sed -nru "s|.* ([0-9]+%) +([^ ]+).*$|\1\nDownloading \1 of '$SIZE' @ \2B/sec |p" 2>/dev/null</input>
<action type="exit">Ready</action>
</progressbar>
<hbox homogeneous="true">
<button use-underline="true">
<label>"_Cancel "</label>
<input file stock="gtk-close"></input>
<action>func_terminate_service</action>
<action>EXIT:exit</action>
</button>
</hbox>
</vbox>
</window>'
I=$IFS; IFS=""
for STATEMENTS in $(gtkdialog --program=DOWNLOADER_GUI); do
eval $STATEMENTS
done
IFS=$I
[ $EXIT = exit ] && exit 1
cd ~/.flash_update/
tar -zxvf flash_player_npapi_linux.i386.tar.gz libflashplayer.so &> /dev/null
chown root:root libflashplayer.so
cd /
rm /usr/lib/mozilla/plugins/libflashplayer.so
mv ~/.flash_update/libflashplayer.so /usr/lib/mozilla/plugins/libflashplayer.so
export INSTALLED_VERSION=$(busybox strings -n13 /usr/lib/mozilla/plugins/libflashplayer.so | grep 'FlashPlayer_' | cut -d '_' -f2-5| tr '_' '.')
gtkdialog-splash -icon "/usr/share/pixmaps/flash-player-properties.png" -timeout 6 -fontsize x-large -text "Flash Player has now been updated
Version $INSTALLED_VERSION"
[ "$LATEST_VERSION" = "$INSTALLED_VERSION" ] && rm -r ~/.flash_update
func_terminate_service
}
export -f DOWNLOAD_FLASH
func_terminate_service(){
PID_UPDATE_FLASH=$(pidof update_flash)
GUI=$(ps -ef | grep program=FLASH_UPDATER_GUI | grep -v grep | awk '{ print $2 }')
kill "$PID_UPDATE_FLASH"
kill "$GUI"
}
export -f func_terminate_service
[ ! -f ~/Startup/update_flash ] && echo false > ~/.update_flash
if grep -q true ~/.update_flash 2> /dev/null;then
CHECKBOX='<default>true</default>'
else
CHECKBOX='<default>false</default>'
fi
mkdir -p ~/.flash_update
if [ ! -f ~/.flash_update/index.html ]; then
# fredx181, changed about url to "get.adobe.com/flashplayer/about/"
wget --no-check-certificate -O- --spider get.adobe.com/flashplayer/about/ > ~/.flash_update/flash_url 2>&1
if grep -q '200 OK' ~/.flash_update/flash_url 2> /dev/null; then
wget -q -N -P ~/.flash_update get.adobe.com/flashplayer/about/
else
gtkdialog-splash -icon "/usr/share/pixmaps/flash-player-properties.png" -timeout 8 -fontsize x-large -text "The Adobe web site appears
to unavailable at this time
Please try again......."
rm -r ~/.flash_update && func_terminate_service
fi;fi
export LATEST_VERSION=`cat /root/.flash_update/index.html | grep -A3 Linux | grep [0-9] | awk -F '[><]' '{print $3}' | tr -d "\n"` #rg66
export INSTALLED_VERSION=$(busybox strings -n13 /usr/lib/mozilla/plugins/libflashplayer.so | grep 'FlashPlayer_' | cut -d '_' -f2-5| tr '_' '.')
if [ "$LATEST_VERSION" = "$INSTALLED_VERSION" ]; then
TEXT="<b><span size='"'large'"'>Adobe Flash is up to date...</span></b>"
TEXT_VERSION="<b><span size='"'x-large'"'>Current Version $INSTALLED_VERSION</span></b>"
TEXT_LINE1="$TEXT"
TEXT_LINE2="$TEXT_VERSION"
BUTTON1='<button use-underline="true">
<label>" _About"</label>
<input file stock="gtk-info"></input>
<action>disable:TIMER</action>
<action>launch:UPDATER_ABOUT</action>
</button>'
TIMER='<timer seconds="true" interval="8" visible="false">
<variable>TIMER</variable>
<action>EXIT:exit</action>
</timer>'
rm -r ~/.flash_update
else
if [ -f ~/.flash_update/flash_player_npapi_linux.i386.tar.gz ]; then
TEXT="<b><span size='"'large'"'>Adobe Flash update has already started...</span></b>"
TEXT_VERSION="<b><span size='"'x-large'"'>New Version $LATEST_VERSION</span></b>"
TEXT_LINE1="$TEXT"
TEXT_LINE2="$TEXT_VERSION"
BUTTON1='<button use-underline="true">
<label>" _About"</label>
<input file stock="gtk-info"></input>
<action>launch:UPDATER_ABOUT</action>
</button>'
BUTTON2='<button use-underline="true">
<label>"_Resume"</label>
<input file stock="gtk-apply"></input>
<action>DOWNLOAD_FLASH</action>
</button>'
else
TEXT="<b><span size='"'large'"'>A New Adobe Flash update is Available</span></b>"
TEXT_VERSION="<b><span size='"'x-large'"'>New Version $LATEST_VERSION</span></b>"
TEXT_LINE1="$TEXT"
TEXT_LINE2="$TEXT_VERSION"
BUTTON1='<button use-underline="true">
<label>" _About"</label>
<input file stock="gtk-info"></input>
<action>launch:UPDATER_ABOUT</action>
</button>'
BUTTON2='<button use-underline="true">
<label>"_Update"</label>
<input file stock="gtk-apply"></input>
<action>DOWNLOAD_FLASH</action>
</button>'
fi;fi
LINK="<b><u><span color='"'blue'"'>Update Flash 1.8 By Geoffrey 15th May 2017</span></u></b>"
ABOUT="<b><span size='"'x-large'"'>Adobe Flash Updater</span></b>"
export UPDATER_ABOUT='
<window title="Flash Player Updater" icon-name="gtk-about">
<vbox>
<text wrap="false" justify="2" use-markup="true"><label>"'$ABOUT'"</label></text>
<eventbox tooltip-text=" Adobe Flash Player Auto Updater " hover-selection="true" homogeneous="true">
<text justify="2" use-markup="true"><label>"'$LINK'"</label></text>
<action signal="button-press-event">defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?t=100523 &</action>
</eventbox>
<text><label>""</label></text>
<text wrap="false" justify="2" use-markup="true"><label>"Updates only the flash player plugin libflashplayer.so"</label></text>
<text><label>""</label></text>
<hbox space-fill="false" space-expand="true" homogeneous="true">
<button ok>
<action>closewindow:UPDATER_ABOUT</action>
</button>
</hbox>
</vbox>
<variable>UPDATER_ABOUT</variable>
</window>'
export FLASH_UPDATER_GUI='
<window title="Flash Player Updater" icon-name="flash-player-properties" border-width="10" resizable="false">
<vbox>
<hbox>
<vbox>
<pixmap>
<input file icon="flash-player-properties"></input>
<height>48</height><width>48</width>
</pixmap>
</vbox>
<vbox>
<text wrap="false" xalign="0" use-markup="true"><label>"'$TEXT_LINE1'"</label></text>
<text wrap="false" xalign="0" use-markup="true"><label>"'$TEXT_LINE2'"</label></text>
<checkbox use-underline="true">
'$CHECKBOX'
<label>_Run Flash Player Updater at startup</label>
<variable>STARTUP</variable>
<action>echo $STARTUP > ~/.update_flash</action>
<action>if true ln -s /usr/bin/update_flash ~/Startup/update_flash &> /dev/null</action>
<action>if false rm ~/Startup/update_flash &> /dev/null</action>
</checkbox>
</vbox>
</hbox>
<hbox homogeneous="true">
<hbox>
'$TIMER'
'$BUTTON1'
'$BUTTON2'
<button use-underline="true">
<label>"_Cancel "</label>
<input file stock="gtk-close"></input>
<action>EXIT:exit</action>
</button>
</hbox>
</hbox>
</vbox>
</window>'
gtkdialog --program=FLASH_UPDATER_GUI >/dev/null 2>&1
Fred
- Attachments
-
- update_flash-1.8-1.pet
- fixed update_flash v1.8-1
- (3.27 KiB) Downloaded 171 times
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
@ Fred:-
Thanks for the 'fix', mate! Your modified script has got my update_flash-1.8 working again for the first time in a loooong while.....
This was always one of my favourite bits of Geoff's software, 'cos I love the GUI for it. I know you can appreciate that, seeing as how you're very much a GUI man yourself (and understand the value of them), since they help to convince newbies that Pup's not SO hard after all.....
Adobe went through an extended spell, some while back, of juggling all their Flash download URLs around every few weeks.....and this went on for months and months. I believe Geoff simply got fed-up with constantly re-writing the script.....then he dropped off the radar for quite a while, and when he did reappear, I think his priorities had changed. Update_flash just slid further and further down into the Puppy 'pit of obscurity'...
Our Russian colleague, SFS, adapted Geoff's script for PepperFlash, and it works so well that I incorporated it into my Chrome & Iron packages. Strictly speaking, it's not needed for Chrome any longer, since the Linux release now auto-updates from within the browser itself , though it still works well for Iron.
Curiously, Adobe have never shifted the Pepper URL around, not even once; it works as well today as the day when SFS posted his 'mod'.....
Go figure. A sign, I guess, of the enormous 'clout' Big Brother now wields; it can even 'persuade' a huge concern like Adobe to do things so they're to Google's advantage.....
Mike.
Thanks for the 'fix', mate! Your modified script has got my update_flash-1.8 working again for the first time in a loooong while.....
This was always one of my favourite bits of Geoff's software, 'cos I love the GUI for it. I know you can appreciate that, seeing as how you're very much a GUI man yourself (and understand the value of them), since they help to convince newbies that Pup's not SO hard after all.....
Adobe went through an extended spell, some while back, of juggling all their Flash download URLs around every few weeks.....and this went on for months and months. I believe Geoff simply got fed-up with constantly re-writing the script.....then he dropped off the radar for quite a while, and when he did reappear, I think his priorities had changed. Update_flash just slid further and further down into the Puppy 'pit of obscurity'...
Our Russian colleague, SFS, adapted Geoff's script for PepperFlash, and it works so well that I incorporated it into my Chrome & Iron packages. Strictly speaking, it's not needed for Chrome any longer, since the Linux release now auto-updates from within the browser itself , though it still works well for Iron.
Curiously, Adobe have never shifted the Pepper URL around, not even once; it works as well today as the day when SFS posted his 'mod'.....
Go figure. A sign, I guess, of the enormous 'clout' Big Brother now wields; it can even 'persuade' a huge concern like Adobe to do things so they're to Google's advantage.....
Mike.
Last edited by Mike Walsh on Sun 27 Oct 2019, 21:10, edited 1 time in total.
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Bonsoir,
De rien, thanks!
This getflashplayer 1.7.2, which obviously does not intend to overshadow Geoffroy's script, is also internationalized, which makes it accessible to non-English-speaking users.
Cordialement.
.ETP wrote:Merci beaucoup, c'est très gentil à vous
De rien, thanks!
This is why, seeing that Geoffroy has not been seen on the Forum since July, continuing the momentum of the "getflash" originally created by technosaurus and Barry K, improved by ASRI, a remote configuration file was used, automatically downloaded at the start of the application and saved as /root/.getflash/getflash.conf, avoiding having to modify the main script. I also added, for ToOpPy users, a flashing notification icon in the system tray when a new flash version is available, icon that user has just to click to install the latest version.Adobe went through an extended spell, some while back, of juggling all their Flash download URLs around every few weeks.....and this went on for months and months.
This getflashplayer 1.7.2, which obviously does not intend to overshadow Geoffroy's script, is also internationalized, which makes it accessible to non-English-speaking users.
Cordialement.
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Spoke too soon.Mike Walsh wrote:Thanks for the 'fix', mate! Your modified script has got my update_flash-1.8 working again for the first time in a loooong while.....
Still getting the "Debian apt-get Yum tar.gz" crap coming up, and nowt actually happening when you try to download the new version; it just 'hangs'. I think it needs more work than just updating the URLs; I don't understand it, myself, because it worked beautifully when Geoff first released it, but over the successive months it just steadily went to 'hell in a handbasket'.....and has never worked properly since. And in certain older Pups, like Racy/Wary, it just doesn't work at all.....and it isn't because there's any binaries/dependencies involved, since it's just basically a script.
Mystifying.
I daresay it probably does work fine in the DebianDogs, but it seems to be a lost cause in the Puppies. Argolance's modified version of GetFlash, however, seems to be working nicely...
Whatcha reckon, Fred?
Mike.
Hi Mike,
When I share a .pet I always test on at least one Puppy, in this case on Xenialpup 32-bit and it worked fine, so... indeed mystifying that it doesn't work for you.
Any errors you see when running from terminal ?
Btw, Debiandog or Puppy makes no difference in this case, all the same commands, wget, cat, busybox, grep etc...
Fred
When I share a .pet I always test on at least one Puppy, in this case on Xenialpup 32-bit and it worked fine, so... indeed mystifying that it doesn't work for you.
Any errors you see when running from terminal ?
No idea what you mean, where do you see that ? Geoff's script has nothing to do with apt-get or whatever.Still getting the "Debian apt-get Yum tar.gz" crap coming up
Btw, Debiandog or Puppy makes no difference in this case, all the same commands, wget, cat, busybox, grep etc...
Yes , just script but it could well be because of older binary versions called by the script e.g. wget or/and others.And in certain older Pups, like Racy/Wary, it just doesn't work at all.....and it isn't because there's any binaries/dependencies involved, since it's just basically a script
Fred
- Mike Walsh
- Posts: 6351
- Joined: Sat 28 Jun 2014, 12:42
- Location: King's Lynn, UK.
Hiya, Fred.
Nah, no criticism of what you've done, mate. I'd never do that..!
I haven't used your .pet, per se; what I did was to replace the main script with your published version. Essentially the same thing, since the script pretty much is the utility.
http://www.murga-linux.com/puppy/viewto ... 282#954282
I have it set to auto-run at boot, so's I get the option to 'upgrade' to a new version as soon as it appears. But it can't be the "A -2 / A -3" thing that Geoff mentions, 'cos that fix is already in the script. This is where my lack of understanding of Geoff's code is letting me down, 'cos I don't really understand what that's doing.....
(*shrug*)
Any ideas? Or did you make any other changes in the .pet itself, when you re-packed it?
Mike.
Nah, no criticism of what you've done, mate. I'd never do that..!
I haven't used your .pet, per se; what I did was to replace the main script with your published version. Essentially the same thing, since the script pretty much is the utility.
No, it's not in the script itself. It shows up on the GUI, seemingly at random:-fredx181 wrote:No idea what you mean, where do you see that ? Geoff's script has nothing to do with apt-get or whatever.Still getting the "Debian apt-get Yum tar.gz" crap coming up
http://www.murga-linux.com/puppy/viewto ... 282#954282
I have it set to auto-run at boot, so's I get the option to 'upgrade' to a new version as soon as it appears. But it can't be the "A -2 / A -3" thing that Geoff mentions, 'cos that fix is already in the script. This is where my lack of understanding of Geoff's code is letting me down, 'cos I don't really understand what that's doing.....
(*shrug*)
Any ideas? Or did you make any other changes in the .pet itself, when you re-packed it?
Mike.
flashplayer1.7.4
Thanks very much Argolance your 1.7.2 seems to work for me. Whats the difference between 1.7.2 and 1.7.4.
Thanks
Bird Dog
Thanks
Bird Dog
Frugal Xenialpup 64, Bionicpup 64 save folder on core2 quad Q6600 2 gigs ram, AMD 6 core 4 gigs ram. Frugal Xenialpup 32, Bionicpup 32 save folder on P4 3.0 ghz 1 gig ram, Dell P4 Celeron 2.4 ghz 1 gig ram
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Bonjour,
@Bird Dog
Following tests on other Puppies (Stretch and Buster), I made some modifications that seem to have solved some problems encountered. The other changes are listed on the French-speaking thread (link above). DeepL translate or any other will do the job well.
What does a "Bird Dog" look like?
Cheers.
@Bird Dog
Following tests on other Puppies (Stretch and Buster), I made some modifications that seem to have solved some problems encountered. The other changes are listed on the French-speaking thread (link above). DeepL translate or any other will do the job well.
What does a "Bird Dog" look like?
Cheers.