LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-18-2005, 11:24 AM   #1
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Rep: Reputation: 30
correct usage of slackpkg


When you install slackpkg (for 10.1 for example) you'll see that the /etc/slackpkg/mirrors file contains a whole bunch of entries for mirrors and they al point to: http://.............../slackware/slackware-10.1/

The correct procedure (correct me if i'm wrong) is to update slackpkg once (slackpkg update) to get the list of all the recent packages and then use slackpkg upgrade slackware (or package by package or whatever you want)

But what I did a few times now is put a mirror in the mirrors file that points to /slackware/slackware-current/
This way i am sure that i get all the latest packages.

But a friend told me that i shouldn't do that and that i have to point my mirror in the mirrors file to /slackware/slackware-10.1 because that's the proper configuration and that only those packages should be installed with that slackware-version.

Right now i'm working on a 10.0 machine and a couple of days ago installed slackpkg on it, and configured it to use a /slackware-current/ folder and ran slackpkg update and then slackpkg upgrade slackware (wich updates everyting)

But is this the right way to do it ? Or is it not advisable to use this when slack goes to 11.0 for example ?
 
Old 05-19-2005, 04:25 AM   #2
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
AFAIK slackpkg will work with either, i.e. stable and current, so it's up to you to decide for each machine which branch you follow, depending on your needs.

So you use slackpkg
- to follow the security updates of a stable version
- to follow the current version

but you do *not* use slackpkg to upgrade from 10.1 to 10.2 or whatever the next stable version will be called. For that, there are upgrade instructions with each stable release, but there's no automatic way with slackpkg.

HTH.
 
Old 05-19-2005, 02:21 PM   #3
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Ok, that's all clear to me, but my way (with the current direcotry) isn't wrong ? or .. ?

I know i won't really have a 10.2 (for example) when i upgrade all the packages.

By the way, can you tell me the difference between versions then ? I mean, all the packages and the kernel and so can be upgraded using slackpkg, but is it just the system configuration that changes every version or someting like that ?

I think the way i'm gonna do it (in the future) is:

Install a major release. Install slackpkg and use the /current/ for slackpkg and whenever there comes a new major release install my machine all over and start again with slackpkg and use /current/ again. Seems like a good idea, doesn't it ?
 
Old 05-19-2005, 02:29 PM   #4
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
Your way is entirely correct if you want a -current system. It's probably less stable than the -stable system, but that way you get newer packages. If you don't run critical servers and you can live with minor problems every now and then, go ahead.

IIRC slackpkg does not upgrade some packages like the kernel, which is why it's not a full update to a new version. But you can do that manually if you wish, so you don't have to reinstall everything when a new version arrives.

Although I would recommend doing so, just to be on the safe side. But then, I am a 'stable' guy, and I don't follow -current ;-)
 
Old 05-19-2005, 02:36 PM   #5
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
By default slackpkg also upgrades the kernel, i last week i did a slackpkg upgrade slackware and the kernel came with it to (i know you can blacklist packages).

Anyway, i don't use /current/ on my webserver, just on my client where i'm typing at now (for a client I just want the latest and the gratest
 
Old 05-19-2005, 02:47 PM   #6
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
You're right, it was "aaa_elflibs" which was blacklisted by default.
 
Old 05-19-2005, 03:10 PM   #7
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
A few more questions then..

My webserver is slackware 10.0. I don't like do see it go off-line or stop working, so it should be "stable" But what is the best way to still keep it up to date then, configuring /slackware-10.1/ in the mirrors file wouldn't be the right way (according to your post above) ? (so i need to use the update instructions)

On the mirror i usualy use are a lot of dirs.

slackware-8.0/
slackware-9.0/
slackware-9.1/
slackware-10.1/
and
slackware-current/

etc etc,

But also:

slackware/

I assume that this slackware/ dir is the latest stable ? or not ?




EDIT: I just read the 10.0 -> 10.1 upgrade howto, pretty easy, so i know what i have to do

Last edited by nukey; 05-19-2005 at 03:16 PM.
 
Old 05-19-2005, 03:17 PM   #8
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
No.
slackware-current/ will be updated very often and contains software up-to-date, sometimes they're not fully tested so this is not recommended for servers.
slackware-XX.X/ will contain the files of that XX.X version AND a directory called "patches" where security patches are stored for that version. So if you want to be stable but not current, you should point you updater software to this directory so it will install only the security patches that were released after the XX.X came out.
So if you want to keep a Slackware 10.0 updated with only security patches, point it to slackware-10.0/ directory.

Here you can see Slackware 10.1 stable changelog and also Slackware-current one: http://slackware.com/changelog/
Quoting that page:
Quote:
Slackware-stable ChangeLog

Intel Architecture
(ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt)

S/390 Architecture
(ftp://ftp.ibiblio.org/pub/Linux/dist.../ChangeLog.txt)

This is the ChangeLog for the latest stable release of Slackware. Changes are made in stable releases if updates are deemed necessary before the next release. A good one to watch. (Though perhaps not quite as much fun as -current.)

Last edited by gbonvehi; 05-19-2005 at 03:18 PM.
 
Old 05-19-2005, 03:24 PM   #9
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Ok, that i understand, but what does that slackware/ directory do among these ?

/slackware-current/
/slackware-9.0/
/slackware-9.1/
/slackware-10.0/
/slackware-10./
/slackware/
 
Old 05-19-2005, 03:36 PM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
That depends on the mirror, maybe it's a link to slackware-current, go inside it and compare the contents. On the mirrors I usually use there's not such slackware directory along the others, but there's a slackware/ directory which contains the different versions, like slackware/slackware-10.1 or slackware/slackware-current.
Also inside each version directory there's a slackware directory that contains the main (not patches, not extras) packages, like slackware-10.1/slackware or slackware-current/slackware.
 
Old 05-19-2005, 03:44 PM   #11
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by gbonvehi
That depends on the mirror, maybe it's a link to slackware-current, go inside it and compare the contents. On the mirrors I usually use there's not such slackware directory along the others, but there's a slackware/ directory which contains the different versions, like slackware/slackware-10.1 or slackware/slackware-current.
Also inside each version directory there's a slackware directory that contains the main (not patches, not extras) packages, like slackware-10.1/slackware or slackware-current/slackware.
I know, but this one is really standing next to all the others, and yes, offcourse, it's a symlink to 10.1 (don't know why i didn't think of that, maybe cause i was webbrowsing the ftp-server) (but i was right about it being the latest stable :P hehe)
 
Old 05-19-2005, 03:59 PM   #12
uselpa
Senior Member
 
Registered: Oct 2004
Location: Luxemburg
Distribution: Slackware, OS X
Posts: 1,507

Rep: Reputation: 46
I guess that for slackpkg you should use /slackware-10.1 and not /slackware, as the latter may point to the latest release whereas the former will always point to 10.1.
 
Old 05-19-2005, 04:02 PM   #13
nukey
Member
 
Registered: Dec 2004
Location: Netherlands
Distribution: Slackware
Posts: 173

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by uselpa
I guess that for slackpkg you should use /slackware-10.1 and not /slackware, as the latter may point to the latest release whereas the former will always point to 10.1.
Yes offcourse, the symlink will change once slack 10.2 or 11.0 is ready.
 
  


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
slackpkg problems dive Slackware 3 11-16-2005 04:08 PM
Warning! Slackpkg walkingbeard Slackware 6 09-18-2005 09:17 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Correct Disk Usage lwsivad Linux - General 2 11-21-2003 02:01 PM


All times are GMT -5. The time now is 07:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration