LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-30-2015, 11:20 AM   #16
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled

Quote:
Originally Posted by Fred-1.2.13 View Post
For most things I just go to a mirror and go into Current and grab the latest version of what I want. So for Sea Monkey I would go to: http://slackware.cs.utah.edu/pub/sla...slackware/xap/ or for 64 bit: http://slackware.cs.utah.edu/pub/sla...ackware64/xap/

And download: seamonkey-2.32-i486-1.txz or seamonkey-2.32-x86_64-1.txz then install it with pkgtool. Sure you could run into an issue where a library needs upgraded or something before the current version will work, but in all these years I have never had an issue getting upgraded versions of software for Slackware right out of current. Works for me!
This is a bad advice and furthermore in the OPS's case it is useless as seamonkey-2.32 is already provided for Slackware versions 14.0 and 14.1.

In case someone would like to upgrade a package to a version not provided for one's Slackware version, the right way (not guaranteed to work but a least better) is to download the whole directory in /source for that packages from the file tree of a more recent Slackware version, rebuild the package in the downloaded directory then do an upgradepkg to install the new package, replacing the old.

Last edited by Didier Spaier; 01-30-2015 at 11:27 AM.
 
Old 01-30-2015, 11:22 AM   #17
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Quote:
Originally Posted by Didier Spaier View Post
This is a bad advice and furthermore in the OPS's case it is useless as seamonkey-2.32 is already provided for Slackware versions 14.0 and 14.1.
Why is this bad advice? And I thought he was trying to instal 2.32? I respect your opinion, please explain.
 
Old 01-30-2015, 11:28 AM   #18
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Quote:
Originally Posted by Didier Spaier View Post
This is a bad advice and furthermore in the OPS's case it is useless as seamonkey-2.32 is already provided for Slackware versions 14.0 and 14.1.

In case someone would like to upgrade a package to a version not provided for one's Slackware version, the right way (not guaranteed to work but a least better) is to download the whole directory in /source for that packages from the file tree of a more recent Slackware version, rebuild the package then do an upgradepkg to install it instead of the older one
Didier, is what is in source different/newer than the Slackware package in current? Wouldn't you end up with the same thing?

In the case of Seamonkey, the 64bit source is dated January 12 and the Slackware package is dated January 15 so I would think the Slackware package is based on the earlier source package.

I understand that building it for you system is ideal, but if you have a pretty much stock install I'm not sure what the difference is. But I am no expert, just sharing what has worked for me in the past.

Last edited by Fred-1.2.13; 01-30-2015 at 11:35 AM.
 
Old 01-30-2015, 11:36 AM   #19
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by Fred-1.2.13 View Post
Why is this bad advice? And I thought he was trying to instal 2.32? I respect your opinion, please explain.
It is bad advice, as it can fail because for instance the minimum requested version of some dependency could have been increased to a level not found in the older Slackware version[1]. If that didn't happen to you, you are just lucky.

And yes the OP was trying to install 2.32 in Slackware version 14.0 or 14.1, but for that he could have just either downloaded the new package for his Slackware version and typed "upgradepkg <new_package>", or if he uses slackpkg typed after "slackpkg update" either "slackpkg upgrade <new_package>" or "slackpkg upgrade-all".

[1]To be honest, in that case the build will probably fail anyway when building the package anew (at the configure step), but at least you will know from the inception that there is problem.

Last edited by Didier Spaier; 01-30-2015 at 11:44 AM. Reason: [1]added.
 
1 members found this post helpful.
Old 01-30-2015, 11:44 AM   #20
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Quote:
Originally Posted by Didier Spaier View Post
It is bad advice, because it can fail because for instance the minimum requested version of some dependency could have been increased to a level not found in the older Slackware version. If that didn't happen to you, you are just lucky.

And yes the OP was trying to install 2.32 in Slackware version 14.0 or 14.1, but for that he could have just either downloaded the new package for his Slackware version and typed "upgradepkg <new_package>", if he uses slackpkg type after "slackpkg update" either "slackpkg upgrade <new_package>" or "slackpkg upgrade-all".
Thank you for the explanation Didier, I see what you are saying. I have never used upgradepkg or slackpkg. I get what I need from current like I said or from SlackBuilds. Been using Slackware for 20 years now, back in the day everything was source and you hunted dependencies as needed, I always figured if I ran into an the "minimum requested version of some dependency" issue I would simply go to current and get the necessary updated dependency. I guess I have resisted the upgradepkg and slackpkg tools as it was never a big deal to manage things manually.

Thanks again, maybe I need to explore upgradepkg and slackpkg...

(Oh and yes, for those that noticed, I am running FreeBSD on this box, just playing, not giving up Slackware or anything )

Last edited by Fred-1.2.13; 01-30-2015 at 11:48 AM.
 
Old 01-30-2015, 12:01 PM   #21
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
You are welcome Fred. Well, your advice was not intrinsically bad after all, just bear in mind that most people posting questions here are way less experienced than you
 
Old 01-30-2015, 12:08 PM   #22
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Quote:
Originally Posted by Didier Spaier View Post
You are welcome Fred. Well, your advice was not intrinsically bad after all, just bear in mind that most people posting questions here are way less experienced than you
Thanks Didier, I hope the OP got/will get it all sorted out in the end! I apologize if I added confusion and took this thread off track.
 
Old 01-30-2015, 12:55 PM   #23
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
This is what I have done:

(1) removepkg seamonkey

now it is gone.

(2) slackpkg install seamonkey

It gave me the gui type display that you get
when you install slackware distribution.
I hit return to select this choice: seamonkey-2.32-x86_64_slack14.0.txz
and a block <OK> which I checked, then it installed it with these
messgages:.
Quote:
Downloading http://ftp.osuosl.org/.2/slackware/s...re64-14.0/./pa
--2015-01-30 10:36:26-- http://ftp.osuosl.org/.2/slackware/slackware64-14.0
Resolving ftp.osuosl.org (ftp.osuosl.org)... 64.50.236.52, 64.50.233.100
Connecting to ftp.osuosl.org (ftp.osuosl.org)|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 41718812 (40M) [text/plain]
Saving to: '/var/cache/packages/./patches/packages/seamonkey-2.32-x86_64-1_s

100%[======================================>] 181 --.-K/s in 0s

2015-01-30 10:37:07 (13.6 MB/s) - '/var/cache/packages/./patches/packages/se

Installing seamonkey-2.32-x86_64-1_slack14.0...
Verifying package seamonkey-2.32-x86_64-1_slack14.0.txz.
Installing package seamonkey-2.32-x86_64-1_slack14.0.txz:
PACKAGE DESCRIPTION:
# SeaMonkey (an open-source web browser suite)
#
# The SeaMonkey browser suite. SeaMonkey features a state-of-the-art
# web browser and powerful email client, as well as a WYSIWYG web page
# composer and a feature-rich IRC chat client.
#
# Visit the SeaMonkey project at this URL:
# http://www.mozilla.org/projects/seamonkey/
#
Executing install script for seamonkey-2.32-x86_64-1_slack14.0.txz.
Package seamonkey-2.32-x86_64-1_slack14.0.txz installed.


Searching for NEW configuration files
No .new files found.

bash-4.2# slackpkg install seamonkey
So now it is installed, appears to be latest version 2.32, yeah, great!

I type in seamonkey on command line, and it runs, terrific, but
I am still logged in as root, Does it run as ordinary user?

So I exit su, and try as ordinary user:

Nope, this is my result of trying to run as ordinary user:
Quote:
bash-4.2$ seamonkey
GLib-GIO-Message: Using the 'memory' GSettings backend. Your settings will
Segmentation fault
Also here is this item just done:
Quote:
bash-4.2# ls -l /var/log/packages/seamonkey-2*
-rw-r--r-- 1 root root 322441 Jan 30 10:37 /var/log/packages/seamonkey-2.32-x86
bash-4.2# ls -l /var/log/removed_packages/seamonkey-2*
-rw-r--r-- 1 root root 235653 Sep 12 2013 /var/log/removed_packages/seamonkey-
-rw-r--r-- 1 root root 322441 Jan 30 08:01 /var/log/removed_packages/seamonkey-

So what do you suppose is the problem, that I can't run it as
ordinary user?

Also if we ever figure out why I can't run it as an ordinary user,
I am also wondering why, seamonkey gave me the message that
I should update the browser because this version has security
issues. If I already had version 2.32 then why did I get that
message? I know we really can't answer that, but still that is
what brought on the whole problem.

Last edited by EldonCool; 01-30-2015 at 01:12 PM. Reason: add info:
 
Old 01-30-2015, 01:13 PM   #24
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Quote:
Originally Posted by EldonCool View Post
This is what I have done:

(1) removepkg seamonkey

now it is gone.

(2) slackpkg install seamonkey

It gave me the gui type display that you get
when you install slackware distribution.
I hit return to select this choice: seamonkey-2.32-x86_64_slack14.0.txz
and a block <OK> which I checked, then it installed it with these
messgages:.


So now it is installed, appears to be latest version 2.32, yeah, great!

I type in seamonkey on command line, and it runs, terrific, but
I am still logged in as root, Does it run as ordinary user?

So I exit su, and try as ordinary user:

Nope, this is my result of trying to run as ordinary user:


Also here is this item just done:



So what do you suppose is the problem, that I can't run it as
ordinary user?
Searching the error reveals an issue with dconf, but dosen't make sense that it works as root. Maybe try reinstalling it. File is here: http://slackware.cs.utah.edu/pub/sla...0-x86_64-1.txz, you can download it and install with pkgtool...

But maybe try upgradepkg first or removepkg and slackpkg like you did with Seamonkey.

Last edited by Fred-1.2.13; 01-30-2015 at 01:16 PM.
 
Old 01-30-2015, 01:13 PM   #25
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
Did you ever open Seamonkey as root while logged in as another user on your DE/WM? If you did, then you could've poluted your configuration files with root owned files, which can cause problems with packages opening up. The only two ways you should open a GUI app as root is 1. if you logged into KDE/XFCE/fluxbox/etc as root, or 2. use a program designed to escalate privilieges in GUI while a regular user is logged in, like kdesu.

If you did run it as root at some point, you can see if you have any files or folders in your home directory that are owned by root.

Code:
find ~ -user root
 
Old 01-30-2015, 01:33 PM   #26
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
One more thought.... and I know this sounds wrong for a Linux machine, so don't beat me up... but did you reboot after uninstalling and reinstalling Seamonkey? With your weird issue it might not hurt.

I like bassmadrigal's idea, that sounds possible.

Last edited by Fred-1.2.13; 01-30-2015 at 01:47 PM.
 
Old 01-30-2015, 01:55 PM   #27
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
I uninstalled it again,
then installed again,
then exit su
then tried to run it as an ordinary user, same problem.

Also I rebooted and tried to rerun, still same problem.
 
Old 01-30-2015, 02:02 PM   #28
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Now Slackware Current. Also some FreeBSD.
Posts: 124

Rep: Reputation: 59
Quote:
Originally Posted by EldonCool View Post
I uninstalled it again,
then installed again,
then exit su
then tried to run it as an ordinary user, same problem.

Also I rebooted and tried to rerun, still same problem.
Did you uninstall/reinstall dconf like I said in a couple posts back? And even more important... did you check into bassmadrigal's suggestion?

Try:

1) removepkg dconf

(2) slackpkg install dconf

EDIT: In hindsight this makes no sense... I was going off the error message you gave that I looked up in Google, listen to Didler below... he is on the right track. [Backing out before I embarrass myself anymore, forgive me, I have been sick all week, which might explain why I am using FreeBSD, or maybe using FreeBSD is making me sick ]

Last edited by Fred-1.2.13; 01-30-2015 at 02:24 PM.
 
Old 01-30-2015, 02:04 PM   #29
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
I suspect that you have some stale files lying around that cause troubles. This can happen when you don't use the proper Slackware tools or the proper packages.

At least this looks weird:
Code:
bash-4.2# ls -l /var/log/removed_packages/seamonkey-2*
-rw-r--r-- 1 root root 235653 Sep 12  2013 /var/log/removed_packages/seamonkey-
-rw-r--r-- 1 root root 322441 Jan 30 08:01 /var/log/removed_packages/seamonkey-
as the file names should at least include the version of the removed packages.

So I'm just wondering what can have caused that...

But wait: probably you didn't copy/paste the full output as files not ending with -2* shouldn't be displayed at all by that command.

Last edited by Didier Spaier; 01-30-2015 at 02:08 PM.
 
Old 01-30-2015, 02:54 PM   #30
EldonCool
Member
 
Registered: Dec 2010
Location: Nevada
Distribution: Slackware
Posts: 258

Original Poster
Rep: Reputation: 3
ls -l /var/log/removed_packages/seamonkey-2*
-rw-r--r-- 1 root root 235653 Sep 12 2013 /var/log/removed_packages/seamonkey-2.12.1-x86_64-1
-rw-r--r-- 1 root root 322441 Jan 30 10:37 /var/log/removed_packages/seamonkey-2.32-x86_64-1_slack14.0



ls -l /var/log/packages/seamonkey-2*
-rw-r--r-- 1 root root 322441 Jan 30 11:49 /var/log/packages/seamonkey-2.32-x86_64-1_slack14.0
bash-4.2$

probably had the file names truncated by the limited screen size somehow,
maybe when I pasted it into my editor.


I did not do anything with dconf, somehow missed that entirely,
what is it?


..

Last edited by EldonCool; 01-30-2015 at 03:02 PM.
 
  


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
error - No package libusb-1.0.19.tar.bz2 available. on cent os 7 pravinthorushe CentOS 2 10-12-2014 03:49 AM
How do I launch Firefox 7.0a1 Nightly Build from a .bz2 package theif519 Linux - Newbie 6 07-05-2011 10:23 PM
how to install package in tar.bz2?helpp georgie99 Linux - Newbie 5 02-18-2010 03:55 AM
build a debian package deb from tar.bz2 cccc Debian 6 09-17-2009 03:44 PM
How to install ntfs-3g.tar.bz2 Slackware package spiffytech Slackware 6 07-11-2007 11:12 PM

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

All times are GMT -5. The time now is 10:24 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