3.2.2 / firefox / flashplayer
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
3.2.2 / firefox / flashplayer
Not sure where the problem lies but with;
3.2.2 Cinnamon 64-bit and
firefox-50.1.0-x86_64-1.xzm and
flashplayer-plugin-24.0.0.186-x86_64-2alien.xzm
http://www.adobe.com/software/flash/about/ says the flashplayer plugin is missing.
The firefox module is the one I used with 3.2.1 and the flashplayer module I downloaded with USM today.
Each time I tried this I shutdown firefox, downloaded the flashplayer with USM, moved it to my Modules folder, activated it and restarted firefox.
3.2.2 Cinnamon 64-bit and
firefox-50.1.0-x86_64-1.xzm and
flashplayer-plugin-24.0.0.186-x86_64-2alien.xzm
http://www.adobe.com/software/flash/about/ says the flashplayer plugin is missing.
The firefox module is the one I used with 3.2.1 and the flashplayer module I downloaded with USM today.
Each time I tried this I shutdown firefox, downloaded the flashplayer with USM, moved it to my Modules folder, activated it and restarted firefox.
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: 3.2.2 / firefox / flashplayer
Deleting the .wh files didn't solve the problem and there is no flashplayer module on the server and no update-flash script in 3.2.2. ___ #%@&*


- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: 3.2.2 / firefox / flashplayer
I ran this in AF mode.
Which resulted in this.
Rebooted Porteus-CINNAMON-v3.2.2-x86_64.iso with changes=EXIT:/porteus3.2/changes/porteussave.dat, started firefox, still no flash plugin. 
Code: Select all
#!/bin/sh
# Color definitions
txtbld=$(tput bold) # Bold
txtred=${txtbld}$(tput setaf 1) # Red
rst=$(tput sgr0) # Reset
function redpswd() {
echo -e "$1" $txtred
}
if [ `whoami` != "root" ]; then
redpswd "Enter root's password"
su -c "sh $0 $1"
exit
fi
echo $rst
RMs() {
echo ls $WHERE/.wh*
ls $WHERE/.wh*
echo
rm $WHERE/usr/lib/.wh.kde4
rm $WHERE/usr/lib/.wh.mozilla
rm $WHERE/usr/lib64/.wh.kde4
rm $WHERE/usr/lib64/.wh.mozilla
rm $WHERE/usr/bin/.wh.flash-player-properties
rm $WHERE/var/log/scripts/.wh.flashplayer-plugin-23.0.0.???-x86_64-1
rm $WHERE/var/log/packages/.wh.flashplayer-plugin-23.0.0.???-x86_64-1
rm $WHERE/var/log/scripts/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1
rm $WHERE/var/log/packages/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1
rm $WHERE/usr/share/.wh.kde4
rm $WHERE/usr/share/icons/hicolor/??x??/apps/.wh.flash-player-properties.png
rm $WHERE/usr/share/pixmaps/.wh.flash-player-properties.png
echo
}
set +x;
WHERE=/mnt/live/memory/images/changes
RMs
WHERE=/mnt/live/memory/changes
RMs
WHERE=/mnt/loop
mloop /mnt/sda5/porteus3.2/changes/porteussave.dat
if [ -d ${WHERE}/home ]; then
RMs
uloop
else
echo " ** save.dat file did not mount. **"
echo
fi
exit
Code: Select all
guest@porteus:~$ sh /mnt/sda5/porteus3.2/Guest/flashfix.sh
Enter root's password
Password:
ls /mnt/live/memory/images/changes/.wh*
ls: cannot access '/mnt/live/memory/images/changes/.wh*': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/lib/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/lib/.wh.mozilla': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/lib64/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/lib64/.wh.mozilla': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/bin/.wh.flash-player-properties': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/var/log/scripts/.wh.flashplayer-plugin-23.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/var/log/packages/.wh.flashplayer-plugin-23.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/var/log/scripts/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/var/log/packages/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/share/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/share/icons/hicolor/??x??/apps/.wh.flash-player-properties.png': No such file or directory
rm: cannot remove '/mnt/live/memory/images/changes/usr/share/pixmaps/.wh.flash-player-properties.png': No such file or directory
ls /mnt/live/memory/changes/.wh..wh.aufs /mnt/live/memory/changes/.wh..wh.orph /mnt/live/memory/changes/.wh..wh.plnk
/mnt/live/memory/changes/.wh..wh.aufs
/mnt/live/memory/changes/.wh..wh.orph:
/mnt/live/memory/changes/.wh..wh.plnk:
rm: cannot remove '/mnt/live/memory/changes/usr/lib/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/usr/lib/.wh.mozilla': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/usr/lib64/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/usr/lib64/.wh.mozilla': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/usr/bin/.wh.flash-player-properties': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/var/log/scripts/.wh.flashplayer-plugin-23.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/var/log/packages/.wh.flashplayer-plugin-23.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/var/log/scripts/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/var/log/packages/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/usr/share/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/usr/share/icons/hicolor/??x??/apps/.wh.flash-player-properties.png': No such file or directory
rm: cannot remove '/mnt/live/memory/changes/usr/share/pixmaps/.wh.flash-player-properties.png': No such file or directory
using /dev/loop4
Please wait while i gather some info ....
#################################
Your data file has been mounted at:
/mnt/loop
You can unmount it by typing uloop
Here is a list of the files:
dev etc home lib mnt opt root tmp usr var
ls /mnt/loop/.wh..wh.aufs /mnt/loop/.wh..wh.orph /mnt/loop/.wh..wh.plnk
/mnt/loop/.wh..wh.aufs
/mnt/loop/.wh..wh.orph:
/mnt/loop/.wh..wh.plnk:
rm: cannot remove '/mnt/loop/usr/lib/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/loop/usr/lib/.wh.mozilla': No such file or directory
rm: cannot remove '/mnt/loop/usr/lib64/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/loop/usr/lib64/.wh.mozilla': No such file or directory
rm: cannot remove '/mnt/loop/usr/bin/.wh.flash-player-properties': No such file or directory
rm: cannot remove '/mnt/loop/var/log/scripts/.wh.flashplayer-plugin-23.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/loop/var/log/packages/.wh.flashplayer-plugin-23.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/loop/var/log/scripts/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/loop/var/log/packages/.wh.flashplayer-plugin-2?.0.0.???-x86_64-1': No such file or directory
rm: cannot remove '/mnt/loop/usr/share/.wh.kde4': No such file or directory
rm: cannot remove '/mnt/loop/usr/share/icons/hicolor/??x??/apps/.wh.flash-player-properties.png': No such file or directory
rm: cannot remove '/mnt/loop/usr/share/pixmaps/.wh.flash-player-properties.png': No such file or directory
/mnt/loop has been unmounted
guest@porteus:~$

- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: 3.2.2 / firefox / flashplayer
yeah, this is the old lib > lib64 issue
the fix is create a symlink in /usr/lib/mozilla to /usr/lib64/mozilla
and now firefox finds flash-plugin
the fix is create a symlink in /usr/lib/mozilla to /usr/lib64/mozilla
and now firefox finds flash-plugin
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: 3.2.2 / firefox / flashplayer
Trouble is flashplater from modules placed into /usr/lib/mozilla (suppose also update-flash) , resulting in symlink being overlaid, and so all lib64 modules lost to browser.ncmprhnsbl wrote:yeah, this is the old lib > lib64 issue
the fix is create a symlink in /usr/lib/mozilla to /usr/lib64/mozilla
and now firefox finds flash-plugin

Code: Select all
[[ -d .mozilla ]] || mkdir .mozilla
ln -s /usr/lib64/mozilla/plugins/ .mozilla/
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: 3.2.2 / firefox / flashplayer
Just so you know, the update-flash and update-pepperflash were removed from the update scripts. They constantly change and require script modification and are not really needed. USM can grab them and pepperflash installs itself.
If you can give me the code to push to update-firefox I will include it in the update-firefox script. Thanks.
If you can give me the code to push to update-firefox I will include it in the update-firefox script. Thanks.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: 3.2.2 / firefox / flashplayer
um.. to me this is very simple,
flashplayer-plugin from usm/alien has its plugin.so in /usr/lib64/mozilla, there is no /usr/lib anything>>> no symlinks overwritten..
for whatever reason firefox(from update-firefox) looks for its addons in /usr/lib/mozilla..
i suppose this symlink could be added to firefox module via the update-firefox script
flashplayer-plugin from usm/alien has its plugin.so in /usr/lib64/mozilla, there is no /usr/lib anything>>> no symlinks overwritten..
for whatever reason firefox(from update-firefox) looks for its addons in /usr/lib/mozilla..
i suppose this symlink could be added to firefox module via the update-firefox script
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: 3.2.2 / firefox / flashplayer
That sounds so familiar but I find nothing in my notes/scripts to do that.ncmprhnsbl wrote:yeah, this is the old lib > lib64 issue
the fix is create a symlink in /usr/lib/mozilla to /usr/lib64/mozilla
and now firefox finds flash-plugin
So do I
Code: Select all
cd /usr/lib/mozilla
ln -s /usr/lib64/mozilla/plugins/ .mozilla/
Or can I just execute
Code: Select all
ln -s /usr/lib64/mozilla/plugins/ /usr/lib/mozilla
Do I need to be root to do this?
I'll be back, I have to go dry behind my ears.

-update-
Code: Select all
guest@porteus:~$ ls /usr/lib64/mozilla/plugins/
libflashplayer.so*
guest@porteus:~$ ls /usr/lib/mozilla
/bin/ls: cannot access '/usr/lib/mozilla': No such file or directory
guest@porteus:~$

Code: Select all
guest@porteus:~$ ls .mozilla
extensions/ firefox/
guest@porteus:~$

- ncmprhnsbl
- DEV Team
- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Re: 3.2.2 / firefox / flashplayer
i used a (root) filemanager> create new link
but this should work(as root, from anywhere):
to make it permanant(if not using changes)
i extracted flash-plugin module,
made a /usr/lib directory in it,
copied the mozilla symlink to it
then rebuilt the module
as a rule, anything done outside of /home/guest should be done as root (excluding external partitions, which may or may not be)

but this should work(as root, from anywhere):
Code: Select all
ln -s /usr/lib64/mozilla /usr/lib/mozilla
i extracted flash-plugin module,
made a /usr/lib directory in it,
copied the mozilla symlink to it
then rebuilt the module
as a rule, anything done outside of /home/guest should be done as root (excluding external partitions, which may or may not be)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: 3.2.2 / firefox / flashplayer
Bogomips wrote:Workaround (AF mode) in guiexec:Code: Select all
[[ -d .mozilla ]] || mkdir .mozilla ln -s /usr/lib64/mozilla/plugins/ .mozilla/
Actually ran these commands in normal mode and the flashplayer now works in Firefox.

And the symlink carries thru the changes=EXIT reboot!!


Thank you guys for your time, your efforts, your patience.

- Ed_P
- Contributor
- Posts: 8908
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: 3.2.2 / firefox / flashplayer
brokenman, I'm not sure what your update-flash script did but I have/had one that I found didn't need to be changed much at all. The script is posted in http://forum.porteus.org/viewtopic.php? ... 782#p39782 and yes I use to change the FPVERSION for each download. Then I found if the FPVERSION was set to 999 I always got the current version regardless of the number.brokenman wrote:Just so you know, the update-flash and update-pepperflash were removed from the update scripts. They constantly change and require script modification and are not really needed.
With Adobe combining the Linux non-Linux modules into one I had to change the script a bit but I think it will always produce the most current module just like before, without tweaking each update.
Attached for your review.
Code: Select all
#!/bin/sh
# http://forum.porteus.org/viewtopic.php?f=53&t=4840&p=35284#p35280
# http://forum.porteus.org/viewtopic.php?f=81&t=5283&p=39782#p39782
BOOTDEV=`grep -A1 "Booting" /var/log/porteus-livedbg|tail -n1|sed 's^//^/^g'`
VERSION=$(cat /etc/porteus-version)
FOLDER=/porteus${VERSION:9:3}
if [ ${BOOTDEV:7:1} != a ]; then
FOLDER=""
fi
GUEST="$BOOTDEV$FOLDER/Guest"
MODULES="$BOOTDEV$FOLDER/Modules"
FPVERSION=999
if [ ! "$1" == "" ]; then
FPVERSION=$1
fi
if [ `whoami` != "root" ]; then
echo
echo "Module unavailable via USM?"
echo -en "Press Enter to download vrsn $FPVERSION, Ctrl+C to end.\n"
read answer
fi
ALIEN=http://www.slackware.com/~alien/slackbuilds/flashplayer-plugin/build
ARCH=i386
if [ `echo $MACHTYPE | sed -e 's/-.*$//'` = x86_64 ]; then
ARCH=x86_64
fi
if [ `whoami` != "root" ]; then
ktsuss "$0 $1"
exit
fi
if [ -d "/home/guest/Downloads/flashplayer-plugin/" ]; then
rm /home/guest/Downloads/flashplayer-plugin/*
fi
wget $ALIEN/flashplayer-plugin.SlackBuild -P /home/guest/Downloads/flashplayer-plugin
#wget $ALIEN/install_flash_player_11.2.202.$FPVERSION_linux_$ARCH.gz -P /home/guest/Downloads/flashplayer-plugin
wget $ALIEN/install_flash_player_29.9.9.999_$ARCH.gz -P /home/guest/Downloads/flashplayer-plugin
wget $ALIEN/slack-desc -P /home/guest/Downloads/flashplayer-plugin
cd /home/guest/Downloads/flashplayer-plugin
chmod +x flashplayer-plugin.SlackBuild
./flashplayer-plugin.SlackBuild
txz2xzm /tmp/*.txz
if [ -f $MODULES/flashplayer-plugin-*.xzm ]; then
# rm -f $MODULES/flashplayer-plugin-*.xzm
mv $MODULES/flashplayer-plugin-*.xzm $MODULES/flashplayer-plugin-*.xyzm
fi
cp /tmp/*.xzm $MODULES/
echo
echo Done
echo
ls -sh $MODULES/flash*.*
echo
read
I only used the script when USM failed to download the current one with a LIB.TXT missing error like it did earlier this week.
Happy New Year Jay.

Ed