Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Flash plugin auto update

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Flash plugin auto update

#21 Post by L_V »

It should be quite fast.
Each time I came here to inform an update issue, http://people.debian.org/~bartm/flashplugin-nonfree/ is updated few days after.
But, this is not a solution.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Flash plugin auto update

#22 Post by L_V »

L_V wrote:Each time I came here to inform an update issue, http://people.debian.org/~bartm/flashplugin-nonfree/ is updated few days after.
As I said: done.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Flash plugin auto update

#23 Post by L_V »

Flash update: still a mystery / V 11.2.202.460 unknown @ people.debian.org/~bartm/

Code: Select all

update-flashplugin-nonfree  --install 

Flash Player version installed on this system  : 11.2.202.457
Flash Player version available on upstream site: 11.2.202.460

https://people.debian.org/~bartm/flashplugin-nonfree/D5C0FC14/fp.11.2.202.460.sha512.i386.pgp.asc => NOT FOUND

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Flash plugin auto update

#24 Post by stevepusser »

The Ubuntu partner packages will install safely:

http://archive.canonical.com/ubuntu/poo ... ashplugin/

I tried to get permission from Adobe to rebuild those packages and host them in the community repository, but was rejected, apparently because I'm not some corporation. :(

Anyway, kmathern contributed this simple command to update the binary directly from Adobe when the Debian server is lagging like it is right now. I'm not sure how to integrate it into a cron job...

Code: Select all

su -c 'wget -qO- http://get.adobe.com/flashplayer/download/%3Finstaller=Flash_Player_11.2_for_other_Linux_%28.tar.gz%29_$(dpkg --print-architecture | sed "s/i386/32/;s/amd64/64/")-bit%26standalone=1 | grep location.href | cut -f2 -d "$(echo -ne \\x27)" | cut -f7 -d\"|xargs wget -qO- | tar -C /usr/lib/flashplugin-nonfree/ --overwrite -xzf- libflashplayer.so && chown root:root /usr/lib/flashplugin-nonfree/libflashplayer.so'
	
MX Linux packager and developer

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Flash plugin auto update

#25 Post by L_V »

What is amazing is that I've been using for years my own script to get Flash directly from Adobe (I spent quite some time on that).
And one day, I wondered why I was not "simply" using flashplugin-nonfree.
flashplugin-nonfree update managed by crontab is clearly not reliable at all.

Using adobe-flashplugin package from ubuntu partner ??? Humm..... Looks like a bit ugly in an official stable Debian release, but ... why not...., but adding ubuntu partner repository is a must to get updates from ubuntu repository
=> risk of mixing other ubuntu/debian packages => I don't like so much.

Don't understand how "normal" Debian users are managing Flash updates.....

By the way, your command line works fine, but is more a workaround than a real solution ! (especially in a "Beginners Questions" section).

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Flash plugin auto update

#26 Post by Head_on_a_Stick »

L_V wrote:Don't understand how "normal" Debian users are managing Flash updates.....
FWIW, Mrs. Head_on_a_Stick plays Flash games every day in her Debian jessie system using Chromium and pepperflashplugin-nonfree -- this seems to work just fine ;)
deadbang

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Flash plugin auto update

#27 Post by L_V »

I am not really in favour of choosing a browser because of Adobe update facility.
Chromium is much too gogole for me.
After unpacking Chromium, 147 MB will be used (!!).
But what kind of garbage gogole needs to make a browser...., especially compared to Qupzilla which needs 5 MB ...

Well, back to the root ... with a script to manage updates directly from Adobe.

@stevepusser
I guess you spent quite some time to fine-tune your command line to get flash from Adobe.... (assuming you made it).

Thanks.

aplistir
Posts: 141
Joined: 2014-03-26 22:11

Re: Flash plugin auto update

#28 Post by aplistir »

L_V wrote:What is amazing is that I've been using for years my own script to get Flash directly from Adobe (I spent quite some time on that).
Have you made your script available somewhere?
I would like to have a look :)

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Flash plugin auto update

#29 Post by L_V »

I have purged some extra features, but something like:

!! for i386 only because fits my need !! / easy to modify

Code: Select all

INSTFL="install_flash_player_11_linux.i386.tar.gz"
LIBFL="/usr/lib/flashplugin-nonfree/libflashplayer.so"

[ -e $LIBFL ] && VCUR=$(strings $LIBFL | grep LNX | sed -e 's/LNX //g ; s/,/./g') || VCUR="none"
VNEW=$(curl -s http://www.adobe.com/software/flash/about/ |grep -A2 "Linux" |tail -n1 |tr -d ' </td>\r')

echo "Flash Player version installed on this system  :" $VCUR
echo "Flash Player version available on upstream site:" $VNEW

if [ "$VNEW" != "$VCUR" ];  then
  wget -N http://fpdownload.macromedia.com/get/flashplayer/pdc/$VNEW/$INSTFL
  tar xf $INSTFL -C /usr/lib/flashplugin-nonfree/ libflashplayer.so
fi
Surely not perfect, but worked like a charm for years !

aplistir
Posts: 141
Joined: 2014-03-26 22:11

Re: Flash plugin auto update

#30 Post by aplistir »

Thanks for the script,
Will read it and try it out.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Flash plugin auto update

#31 Post by stevepusser »

@stevepusser
I guess you spent quite some time to fine-tune your command line to get flash from Adobe.... (assuming you made it).
No, I did credit kmathern, who seems to whip those things out as easily as swimming comes to fish. I just copied it from a thread on another forum where the delay in the Debian server was being discussed.

Qupzilla is much smaller than Chrome and Chromium because they both use internal customized webkit engines, but Qupzilla uses either libqtwebkit for Qt 4, or Qt 5's webkit engine if it's built against that.
MX Linux packager and developer

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Flash plugin auto update

#32 Post by L_V »

@stevepusser
Chromium (147 MB) is about 3 times the size of a complete OS like Slitaz which fits in a 40 MB iso.
Qupzilla (5 MB) depends on libqtwebkit4 which installed size is 37 MB, and other necessary libqt4 libraries are common KDE base dependencies.

Why a Chromium browser supposed to be "light" really needs a 147 MB installation (even not including the impressive list of other dependencies) ?
I don't trust a so tremendously faaaat program which embeds a part of gogole mystery.
But this is off topic.
aplistir wrote:Thanks for the script / Will read it and try it out.
To make it compatible for 32/64 bits, this small update should work.
note: strings command needs binutils package to be installed

Code: Select all

#!/bin/bash
# can be launched from root crontab @weekly
INSTFP="install_flash_player_11_linux.$(dpkg --print-architecture).tar.gz"
LIBFP="/usr/lib/flashplugin-nonfree/libflashplayer.so"

[ -f $LIBFP ] && VCUR=$(strings $LIBFP | grep LNX | sed -e 's/LNX //g ; s/,/./g') || VCUR="none"
VNEW=$(curl -s http://www.adobe.com/software/flash/about/ |grep -A2 "Linux" |tail -n1 |tr -d ' </td>\r')

echo "Flash Player version installed on this system  :" $VCUR
echo "Flash Player version available on upstream site:" $VNEW

# option: cd /tmp
if [ "$VNEW" != "$VCUR" ]; then
  wget -p https://fpdownload.macromedia.com/get/flashplayer/pdc/$VNEW/$INSTFP
  tar xf $INSTFP -C /usr/lib/flashplugin-nonfree/ libflashplayer.so --overwrite
fi

Post Reply