LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-10-2015, 02:35 PM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Quote:
Originally Posted by mutexe View Post
When you say 'uninstall' do you mean run 'removepkg'?
To remove any possibility of duplicate installations, yes. You may have to run it multiple times, depending on how many times you tried installing it without removing or upgrading the previous package. You can check with the following:

Code:
ls /var/log/packages | grep firefox
However, if you're wnating to just upgrade a package (if it hasn't been installed multiple times), you can simply run upgradepkg, and it will handle the removal of the old one and the installation of the new one.
 
Old 03-10-2015, 02:41 PM   #17
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
Code:
ls /var/log/packages | grep firefox
mozilla-firefox-36.0.1-x86_64-1ro
but surely if i remove this, how can i call upgradepkg on something that's not there anymore?
 
Old 03-10-2015, 02:54 PM   #18
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Reminder: upgradepkg installs the new package then remove one with the same base name (in this case mozilla-firefox), without checking its version or anything. That works for "alien" packages as with installpkg and removepkg.

If you remove mozilla-firefox-36.0.1-x86_64-1ro first, you can either use installpkg or slackpkg install or upgradepkg --install-new.

Only difference, slackpkg install will only work for official packages.

Last edited by Didier Spaier; 03-10-2015 at 02:57 PM.
 
Old 03-10-2015, 03:07 PM   #19
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
Thanks for the reply.
I removed 'mozilla-firefox-36.0.1-x86_64-1ro'

leaving me with nothing related to firefox in /var/log/packages.

I then ran:
Code:
installpkg /tmp/mozilla-firefox-36.0.1-x86_64-1ro.tgz
which re-installed v 36.

But i still have the same problem that when i run 'slackpkg upgrade-all', slackpkg still gives me the option of installing version 17.

I am very confused. I realise v17 might be the latest in the repository, but i dont want it to give me the option of installing that. Do i just ignore it?
 
Old 03-10-2015, 03:11 PM   #20
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Code:
echo mozilla-firefox >> /etc/slackpkg/blacklist

Last edited by Didier Spaier; 03-10-2015 at 03:13 PM.
 
Old 03-10-2015, 03:11 PM   #21
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by mutexe View Post
I am very confused. I realise v17 might be the latest in the repository, but i dont want it to give me the option of installing that. Do i just ignore it?
Add it to /etc/slackpkg/blacklist. An entry containing mozilla-firefox should suffice.

Last edited by bassmadrigal; 03-10-2015 at 03:12 PM.
 
Old 03-10-2015, 03:15 PM   #22
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
added:

blacklist mozilla-firefox

into my blacklist file but i'm still getting the option to "upgrade" to version 17 when i run 'slackpkg upgrade-all'.
i think i need a lie down.
 
Old 03-10-2015, 03:16 PM   #23
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by mutexe View Post
added:

blacklist mozilla-firefox

into my blacklist file but i'm still getting the option to "upgrade" to version 17 when i run 'slackpkg upgrade-all'.
i think i need a lie down.
The command was wrong, but I have edited it while you were using it, sorry.
 
Old 03-10-2015, 03:19 PM   #24
mutexe
Member
 
Registered: May 2009
Location: Malvern, UK
Distribution: Slackware 14.1
Posts: 240

Original Poster
Rep: Reputation: 32
Thank you all, seems okay now.
Going to read the slackbook this weekend methinks.

Thanks again.
 
Old 08-03-2016, 12:44 PM   #25
samtsco
Member
 
Registered: Sep 2010
Location: Pittsburgh
Distribution: Slackware
Posts: 74

Rep: Reputation: 3
New Guy with some problems

Hi,

I'm running vectorlinux lite and trying to update my Firefox from v19, on my i586. I tried the subject script and found I had to edit it to manually select i586 and to choose a version. I chose 45.2.0, the current latest version being 48, I guess. I surmised that I could grab a version 45 for i586 but was not certain about v48. Anyway, the script had been written only to look for i686 packages.

For years, I have waited for a new compilation of firefox for vector, finally, none appearing, I realized for the first time I could install slackware packages so that is what I am now attempting. I finally got around to it when my email stopped working good enough and didn't work at all.

After editing as noted, the script got as far as echoing that it saved /tmp/repackage-mozilla-firefox/src/mozilla-firefox.desktop, then echoed that it had connected to https://download.mozilla.org/?produc...nux&lang=en-US and was resolving the download but then it did not like the certificate and it shut down. I could not see in the script where it would have hung up, but the error messages about the certificate did not come from within the script. After it shut down, I could find no such file (written above) saved anywhere.

Any assistance will be appreciated.

Also, I want to know from which directory I ought to be running this script. I was just running it in root (just above home directory).

And more generally, I welcome anybody's 2 cents regarding the advantages I might enjoy if I change my OS to slackware. I started running vector lite because of its advertised quickness and lack of fluff, but how can it be better than slackware, in regard to that aspect, if it is based on slackware? - Especially for a guy who doesn't like to gui or have things done for him by anyone but his long-time personal butler.

I don't really have a butler (but I would like one), but you see my point.

Regards,

Sam
 
Old 08-04-2016, 03:54 AM   #26
zk1234
4MLinux Maintainer
 
Registered: Oct 2010
Location: Poland
Distribution: 4MLinux, Slackware
Posts: 1,254

Rep: Reputation: 220Reputation: 220Reputation: 220
Quote:
Originally Posted by Alien Bob View Post
This script will download the latest Firefox binaries from mozilla.org, and re-package it into a Slackware package which you can then install:

https://gist.github.com/ruario/9672798
And good news for those using the vanilla version from mozilla.org
Firefox 48.0 includes patches making it possible to use it with the newest gtk .
Radio buttons, slide bar and the like are now displayed correctly with gtk 3.20.x

.
 
Old 08-04-2016, 07:24 AM   #27
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by samtsco View Post
Hi,

I'm running vectorlinux lite and trying to update my Firefox from v19, on my i586. I tried the subject script and found I had to edit it to manually select i586 and to choose a version. I chose 45.2.0, the current latest version being 48, I guess. I surmised that I could grab a version 45 for i586 but was not certain about v48. Anyway, the script had been written only to look for i686 packages.

For years, I have waited for a new compilation of firefox for vector, finally, none appearing, I realized for the first time I could install slackware packages so that is what I am now attempting. I finally got around to it when my email stopped working good enough and didn't work at all.

After editing as noted, the script got as far as echoing that it saved /tmp/repackage-mozilla-firefox/src/mozilla-firefox.desktop, then echoed that it had connected to https://download.mozilla.org/?produc...nux&lang=en-US and was resolving the download but then it did not like the certificate and it shut down. I could not see in the script where it would have hung up, but the error messages about the certificate did not come from within the script. After it shut down, I could find no such file (written above) saved anywhere.
There shouldn't be any reason to get something other than the i686 as it is very unlikely that your processor doesn't support that. Just because many of the packages in the OS are i586 doesn't mean that your packages need to be.

As for your issue with the script, please paste all the output and put them within [code][/code] tags so we can try and diagnose your issue. However, this may be an issue specific with Vector and we may not be familiar enough with the distro to help (even though it is based on Slackware, it is not Slackware).

Quote:
Originally Posted by samtsco View Post
Also, I want to know from which directory I ought to be running this script. I was just running it in root (just above home directory).
This shouldn't matter.

Quote:
Originally Posted by samtsco View Post
And more generally, I welcome anybody's 2 cents regarding the advantages I might enjoy if I change my OS to slackware. I started running vector lite because of its advertised quickness and lack of fluff, but how can it be better than slackware, in regard to that aspect, if it is based on slackware? - Especially for a guy who doesn't like to gui or have things done for him by anyone but his long-time personal butler.
I'm not very familiar with Vector, but they probably follow the one app per task philosophy, meaning that it doesn't provide you choice like Slackware does. I doubt this leads to things being quicker (except you don't have to look through as many items on a menu), but it would lead to a smaller install (but that's not a big deal to most with the sizes of harddrives).

But you are in the Slackware forum, so I'd imagine most people would suggest just switching to Slackware (me included).
 
Old 08-05-2016, 02:04 AM   #28
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by samtsco View Post
I'm running vectorlinux lite and trying to update my Firefox from v19, on my i586. I tried the subject script and found I had to edit it to manually select i586 and to choose a version.
You do not need to do that and should not do that!

Quote:
Originally Posted by bassmadrigal View Post
There shouldn't be any reason to get something other than the i686 as it is very unlikely that your processor doesn't support that. Just because many of the packages in the OS are i586 doesn't mean that your packages need to be.
Exactly!

P.S. Even if the user did want to change the version or arch, there is zero reason to edit the script. You can just define the variable outside of the script and the script will use this instead.

Quote:
Originally Posted by samtsco View Post
the script got as far as echoing that it saved /tmp/repackage-mozilla-firefox/src/mozilla-firefox.desktop, then echoed that it had connected to https://download.mozilla.org/?produc...nux&lang=en-US and was resolving the download but then it did not like the certificate and it shut down.
This implies that your ca-certificates package is out of date because the cert on https://download.mozilla.org is valid.

Last edited by ruario; 08-05-2016 at 02:09 AM.
 
1 members found this post helpful.
Old 08-05-2016, 02:10 AM   #29
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Oh and if you want to run the script verbosely, you can just run it with:

Code:
bash -x latest-firefox.sh
That will print out all of its steps as it performs them.
 
Old 08-05-2016, 02:44 AM   #30
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Firefox does not produce a i586 binary package (look in http://ftp.mozilla.org/pub/firefox/releases/48.0/ to confirm this for yourself). Not that it matters, since as bassmadrigal pointed out, you almost certainly do want i586, which is likely to run on your system just fine.

You need to update your ca-certificates package but in the mean time, get the i686 package manually like this:

Code:
wget http://ftp.mozilla.org/pub/firefox/releases/48.0/linux-i686/en-US/firefox-48.0.tar.bz2
Then (from the same directory) run an unmodified version of latest-firefox.sh script like this:

Code:
VERSION=48.0 ./latest-firefox.sh
P.S. Just for clarity you could suggest an architecture like this (you don't need to but you could):

Code:
ARCH=i586 VERSION=48.0 ./latest-firefox.sh
That would still result in the use of i686 of course, since there is no i586, as I pointed out previously.

Last edited by ruario; 08-05-2016 at 02:51 AM.
 
1 members found this post helpful.
  


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
Ghost testing/mozilla-firefox/ with version 9.0b1, present in slackware-current? Darth Vader Slackware 6 02-25-2012 02:23 AM
[SOLVED] Please upgrade Operating System version to 2.6.5-7.97-bigsmp - the current version is panneer_dxb Linux - Kernel 1 04-10-2011 03:16 PM
cvs diff the most current and second last current version powah Linux - Software 1 03-30-2006 01:02 PM

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

All times are GMT -5. The time now is 04:15 AM.

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