LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2021, 03:35 AM   #1
Pixxt
Member
 
Registered: May 2008
Distribution: Slackware, Debian,
Posts: 288

Rep: Reputation: 186Reputation: 186
ruario's Latest Firefox script stopped working


The script @ https://gist.github.com/ruario/9672798 stopped working on my amd64 current system. It downloads the latest stable Firefox but does nothing afterwards, It was working a couple weeks ago when 92 was released.
 
Old 09-27-2021, 04:37 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
In the interim, why not download the latest FF choose your lang and run it from unpack from your home dir.

https://www.mozilla.org/en-US/firefo...esktop-release

After unpack, extract it to your home dir

If you need a Desktop file, copy contents to $HOME/Desktop/firefox.desktop
Quote:
[Desktop Entry]
Type=Application
Name=firefox
Exec=/home/pixxt/firefox/firefox
Icon=/home/pixxt/firefox/browser/chrome/icons/default/default48.png
Terminal=false
Categories=Application;
For terminal commands ....use root powers to sym link to /usr/bin

Code:
ln -s /home/pixxt/firefox/firefox /usr/bin
For some menu generators.....add the Desktop file to /usr/share/applications with root powers
Depending on what menus....Slackers use....you may need to change Application to something like Internet, Network or whatever

If for menu generator....you need an icon, copy the icon pathway using root powers to /usr/share/pixmaps

BTW I run this system for years.....bonus....on point releases I only have a download of the diff...I believe called the delta file?

On IceWM I have a kb combo to launch it....and another one to kill it in my IceWM keys file YMMV
key "Super+d" pkill firefox
key "Super+f" firefox

trivia
Code:
cd $HOME
ls firefox
application.ini     libfreeblpriv3.so  libplds4.so        plugin-container
browser             liblgpllibs.so     librlbox.so        plugin-container.sig
crashreporter       libmozavcodec.so   libsmime3.so       precomplete
crashreporter.ini   libmozavutil.so    libsoftokn3.so     removed-files
defaults            libmozgtk.so       libssl3.so         Throbber-small.gif
dependentlibs.list  libmozsandbox.so   libxul.so          updater
firefox             libmozsqlite3.so   libxul.so.sig      updater.ini
firefox-bin         libmozwayland.so   locale.ini         updates
firefox-bin.sig     libnspr4.so        META-INF           update-settings.ini
firefox.sig         libnss3.so         minidump-analyzer  updates.xml
fonts               libnssckbi.so      omni.ja
gmp-clearkey        libnssutil3.so     pingsender
icons               libplc4.so         platform.ini

Last edited by aus9; 09-27-2021 at 04:44 AM.
 
1 members found this post helpful.
Old 09-27-2021, 04:57 AM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Quote:
Originally Posted by Pixxt View Post
The script @ https://gist.github.com/ruario/9672798 stopped working on my amd64 current system. It downloads the latest stable Firefox but does nothing afterwards, It was working a couple weeks ago when 92 was released.
Probably the culprit (line 307,308):
Code:
# Make sure the file permissions are ok
chmod -R u+w,go+r-w,a-s .
Code:
blackstar :: /tmp/repackage-mozilla-firefox/pkg » makepkg /tmp/mozilla-firefox-92.0.1-x86_64-1ro.tgz 

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? y
Code:
Slackware package /tmp/mozilla-firefox-92.0.1-x86_64-1ro.tgz created.

blackstar :: /tmp/repackage-mozilla-firefox/pkg » ll /tmp/mozilla-firefox-92.0.1-x86_64-1ro.tgz
-rw-r--r-- 1 marav marav 80M sept. 27 11:54 /tmp/mozilla-firefox-92.0.1-x86_64-1ro.tgz

Last edited by marav; 09-27-2021 at 05:01 AM.
 
2 members found this post helpful.
Old 09-27-2021, 06:31 AM   #4
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,816

Rep: Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493Reputation: 1493
It works if you eat the error code by changing the line to
Code:
chmod -R u+w,go+r-w,a-s . || echo chmod is broken
Or remove 'set -e' from the script. (Exit immediately if a command exits with a non-zero status.)

Last edited by Petri Kaukasoina; 09-27-2021 at 06:32 AM.
 
1 members found this post helpful.
Old 09-27-2021, 11:54 AM   #5
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
I think this may be related to the update to the coreutils package? Ruario's latest-chrome.sh script also stopped working after coreutils was updated.
 
2 members found this post helpful.
Old 09-27-2021, 02:08 PM   #6
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,387

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
Code:
Mon Sep 27 18:50:28 UTC 2021
a/coreutils-9.0-x86_64-3.txz:  Rebuilt.
  DIR_COLORS: Support .webm and .webp extensions. Thanks to madridsecreto.
  Applied upstream patch:
  [PATCH] chmod: fix exit status when ignoring symlinks
 
Old 09-27-2021, 03:24 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member Response

Hi,
Quote:
Originally Posted by Pixxt View Post
The script @ https://gist.github.com/ruario/9672798 stopped working on my amd64 current system. It downloads the latest stable Firefox but does nothing afterwards, It was working a couple weeks ago when 92 was released.
No problem here with new script. Just downloaded FF92.01 no issues.
 
Old 09-27-2021, 03:50 PM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762Reputation: 1762
Hmm… yes it is the chmod command. It should work but ok, whatever. I replaced it with the equivalent snippet from the SlackBuilds template. It is a little longer but does the job and does not fail
 
10 members found this post helpful.
Old 09-27-2021, 04:16 PM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
Quote:
Originally Posted by ruario View Post
Hmm… yes it is the chmod command. It should work but ok, whatever. I replaced it with the equivalent snippet from the SlackBuilds template. It is a little longer but does the job and does not fail
Looking at your last updated gists you also adapted several other ones. Thanks Ruarí!
 
Old 09-27-2021, 04:56 PM   #10
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,263

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by ruario View Post
Hmm… yes it is the chmod command. It should work but ok, whatever. I replaced it with the equivalent snippet from the SlackBuilds template. It is a little longer but does the job and does not fail
Thank you so much! A lot of us appreciate your scripts.
 
2 members found this post helpful.
Old 09-27-2021, 09:06 PM   #11
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Quote:
Originally Posted by ruario View Post
Hmm… yes it is the chmod command. It should work but ok, whatever. I replaced it with the equivalent snippet from the SlackBuilds template. It is a little longer but does the job and does not fail
The same sort of thing happened with the Google-Chrome script. It downloads and stops short of making a Slackware package. I use your scripts all the time and appreciate what you have done for us.
 
2 members found this post helpful.
Old 09-27-2021, 10:28 PM   #12
Pixxt
Member
 
Registered: May 2008
Distribution: Slackware, Debian,
Posts: 288

Original Poster
Rep: Reputation: 186Reputation: 186
Quote:
Originally Posted by ruario View Post
Hmm… yes it is the chmod command. It should work but ok, whatever. I replaced it with the equivalent snippet from the SlackBuilds template. It is a little longer but does the job and does not fail

Nice! Thanks for the fast update!
 
Old 09-28-2021, 10:17 PM   #13
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
Finally, after a long time waiting for it, the google-chrome script returned a slackware package. I actually almost gave up waiting. Firefox is up to date. Opera, skype and vivaldi I don't use but I tried the scripts and they only expand and store the .deb and stop there. I actually sat around the campfire for a couple of hours and then checked but it wasn't just slow, it was frozen
 
Old 09-28-2021, 11:13 PM   #14
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
I replaced the scripts and tried again. Thunderbird didn't work but Google-Chrome and Vivaldi actually produced slackware packages. Gotta hit the sack now but tomorrow I am gonna try again
 
Old 09-28-2021, 11:32 PM   #15
lovemeslk
Member
 
Registered: Feb 2020
Location: Rantoul IL
Distribution: Slackware
Posts: 350

Rep: Reputation: 72
Quote:
Originally Posted by Petri Kaukasoina View Post
It works if you eat the error code by changing the line to
Code:
chmod -R u+w,go+r-w,a-s . || echo chmod is broken
Or remove 'set -e' from the script. (Exit immediately if a command exits with a non-zero status.)
it was patched and fixed now
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ruario's Latest Firefox - How to preserve settings Gordie Slackware 10 07-20-2019 07:30 AM
ruario's latest firefox for 57 AlleyTrotter Slackware 33 11-21-2017 03:06 AM
Ruario's latest-firefox error esteeven Slackware 30 12-22-2015 12:23 AM
[SOLVED] Firefox 21 and Ruario's latest-firefox script neymac Slackware 14 12-19-2013 10:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration