LinuxQuestions.org
Review your favorite Linux distribution.
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 02-09-2007, 03:43 PM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
Question about manual upgrade


Hello!
I am running Slackware Linux 11.0 with kernel test26.s. In this forum I read some threads about package management and my impression is that like everything else in Slackware, it is best to handle package upgrade manually, instead of using automated tools like swaret, slapt-get or slackpkg. So, my question about manual package upgrade is as follows.
Sometimes the new version of a package requires newer versions of some dependencies, so to do the upgrade, one has to upgrade the respective dependencies as well. I wonder if there is some danger in doing so. My concern is that some other programs on the system might be incompatible with the newer versions of these dependencies, and they might stop functioning. If such a problem exists really, what procedure, if any, should be followed when doing package upgrade requiring multiple dependencies upgrade as well? If there is no such problem, i.e. if there is no danger of incompatibility between the newer versions of the shared libraries and some of the other programs on the system that use them, please let me know.

Thank you very much for your attention.
Regards,
Martin.
 
Old 02-09-2007, 04:18 PM   #2
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
In practice, it is not really a problem if you are running a release version of Slackware, and only use reliability/security updates (in other words, use patches/). These usually imply very minimal changes.

Of course, if you run -current, you are on your own. You may have to recompile/upgrade software that is dependent on some upgraded library.

Everything that is in Slackware and patches, is coherent. For all the other stuff, use SlackBuilds .
 
Old 02-09-2007, 05:01 PM   #3
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Question

Quote:
Originally Posted by danieldk
Everything that is in Slackware and patches, is coherent. For all the other stuff, use SlackBuilds .
I see. So if I try to upgrade a package that does not have a patch or a slackbuild, I run a risk. Actually that question arose when I tried to upgrade the xchat to its latest version. It required newer versions of some major libraries, which I did not feel confident to actually upgrade. And since neither these libraries, nor xchat still have neither patches nor slackbuilds, I have to stick to the older version of xchat to avoid problems.

Regards,
Martin
 
Old 02-09-2007, 11:45 PM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If you think about it ... why upgrade, unless it is a security issue ? I pondered this question a while (mostly while I was running FC4, FC5, and Ubuntu) ... I found that running the latest version of things is really a pain in the @$$ ! REALLY !!! How many times did something break when I upgraded something else ? Well, I can't count the times. So, from then I decided to:

1) Install Slackware (mostly because FC6 is insanely buggy)
2) Never upgrade anything, unless it is for security reasons.

I think it's a great plan ... except for those extenuating circumstances that do exist.
 
Old 02-10-2007, 05:57 AM   #5
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
Quote:
Originally Posted by tramni1980
Actually that question arose when I tried to upgrade the xchat to its latest version.
The questions you have to ask is, is it worth it. In my experience, xchat in Slack 11 works perfectly for its purpose, and Pat will issue a security update for it when necessary. If you install a newer version, you will have to maintain it yourself w.r.t. security issues.

BTW. The latest is not always the greatest. Pat often has a good reason for using a specific version that is in Slackware.
 
Old 02-10-2007, 07:15 AM   #6
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Ok, my impression so far is that the best way to handle system upgrade is to wait for new patches to appear in my local Slackware repository ( as I live in Bulgaria, it is http://mirrors.unixsol.org/slackware/slackware-11.0/)
and then just run "upgrade" to the packages in the "patches" directory. Am I right?
 
Old 02-10-2007, 08:37 AM   #7
danieldk
Member
 
Registered: Aug 2002
Posts: 150

Rep: Reputation: 15
Quote:
Originally Posted by tramni1980
Ok, my impression so far is that the best way to handle system upgrade is to wait for new patches to appear in my local Slackware repository ( as I live in Bulgaria, it is http://mirrors.unixsol.org/slackware/slackware-11.0/)
and then just run "upgrade" to the packages in the "patches" directory. Am I right?
Yeah, spot-on. You could also mirror the patches directory through rsync if you have more than one Slackware machine. See also:

http://www.slackbasics.org/html/pkgmgmt.html#AEN2933
 
Old 02-11-2007, 02:19 AM   #8
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
Quote:
Originally Posted by danieldk
The questions you have to ask is, is it worth it. In my experience, xchat in Slack 11 works perfectly for its purpose, and Pat will issue a security update for it when necessary. If you install a newer version, you will have to maintain it yourself w.r.t. security issues.

BTW. The latest is not always the greatest. Pat often has a good reason for using a specific version that is in Slackware.
I know I'm "preaching to the choir" here with you, DdK, but others might get some benefit from this...
Think back to the the "dependency hell" you went through to manually compile some application that needed newer versions of some library, and that library needed a newer version of some other library, and three other things were linked against that library, so now they have to be recompiled. Since they're going to have to be rebuilt anyway, you decide to check out newer versions of those, and one of those requires a newer version of some other library, and the cycle repeats. Are we on the same page now?

Okay, now imagine how that must be for a *very* small group of people maintaining an entire linux distribution...

In essence, unless you *want* to walk that path (and it's okay if you do - being one of the first people down that path and finding/fixing the various bugs encountered is a great way to help Pat), it's best to stick with a stable release plus /patches/* and wait for the next stable release to upgrade. That way, all of the dependency issues have been worked out and documented in the ChangeLog, Release Notes, and other such files...

RW

Last edited by rworkman; 02-11-2007 at 02:22 AM.
 
Old 02-11-2007, 05:40 AM   #9
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
I would like to ask you about using the local slackware mirror, which in my case is http://mirrors.unixsol.org/slackware/slackware-11.0/
There I should look for new versions of packages. I do not understand the designation of the different folders there. I can see:
extra
pasture
patches
slackware

So I should look for new official relesases in "patches". What about pasture, extra, slackware? What are the other folders intended to serve for? Tha automatic utility slackpkg so long as I understand from browsing the forum, consecutively looks for new versions of packages in all these folders and if it finds a new version, in installs it. Since I prefer to do this manually, I am interested in where I should look for new versions. Besides, is there a danger of upgrading to new versions of some libraries and then facing the possibility of incompatibility of some programs with the new versions of these libraries? I think there should not be such possibility provided that the official local slackware mirror is used, but I still feel obliged to ASK.

Thank you for your attention.
Regards,
Martin
 
Old 02-11-2007, 11:32 PM   #10
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
Quote:
Originally Posted by tramni1980
I would like to ask you about using the local slackware mirror, which in my case is http://mirrors.unixsol.org/slackware/slackware-11.0/
There I should look for new versions of packages. I do not understand the designation of the different folders there. I can see:
extra
pasture
patches
slackware

So I should look for new official relesases in "patches". What about pasture, extra, slackware? What are the other folders intended to serve for? Tha automatic utility slackpkg so long as I understand from browsing the forum, consecutively looks for new versions of packages in all these folders and if it finds a new version, in installs it. Since I prefer to do this manually, I am interested in where I should look for new versions. Besides, is there a danger of upgrading to new versions of some libraries and then facing the possibility of incompatibility of some programs with the new versions of these libraries? I think there should not be such possibility provided that the official local slackware mirror is used, but I still feel obliged to ASK.
For a stable release version of Slackware, the place to look for updates will be the patches/ directory. This directory will contain security and reliability updates that are issued after the official release of that Slackware version. In a stable release, there should be no problems with library version changes, because any new packages in patches/ will be compiled against the release versions of everything else.

On occasion, new packages are added to the /extra directory after the official release (for example, Pat put Firefox-2.0.0.1 into patches/ on Sat Dec 23 16:38:26 CST 2006).

The pasture/ directory should almost always be ignored (I would say *always* but I'm sure someone has an obscure exception case) - this directory contains packages that are either obsolete or otherwise on their way out, but Pat elected to leave them around for a while just in case.

Since you mention slackpkg, have a look at slackpkg.conf(5) (the man page) - notice the {FIRST,SECOND,THIRD,FOURTH} priority of the various directories about which you inquired.

RW

Last edited by rworkman; 02-11-2007 at 11:34 PM.
 
Old 02-12-2007, 08:02 AM   #11
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
Thank you very much indeed. That is exactly what I wanted to know . I do not intend to use slackpkg, because so long as I understand from the discussions in the forum, it is best to do things manually with Slack
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
is manual upgrade possible? zeokhan Linux - Newbie 1 12-15-2005 05:47 AM
Manual Mount robb5150 Linux - Hardware 1 11-13-2004 07:52 AM
Mandrake 9.2 manual trackrat Linux - General 1 03-12-2004 06:41 AM
RH 7.3 Manual Upgrade RodDog Linux - Distributions 2 05-13-2002 04:19 AM
manual pages vcheah Linux - General 9 12-06-2001 10:42 PM

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

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