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 07-28-2007, 04:32 AM   #1
odin123
Member
 
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80

Rep: Reputation: 15
Updating Slackware and Installing New Programs


Hi all,

Three questions about updating:

1. Which program is better to update and take care of dependencies, swaret, slackpkg, or slapt-get (or others)?

2. If I have a fresh full install of Slackware 12.0, which repository should I point to, the one with Slackware 12.0 or the one with "current"?

3. Is Synaptic suitable to find and install new programs in Slackware?

I've checked the postings but couldn't find a satisfactory answer (to me), and the manual, "Slackbook 2.0" is silent on this (couldn't find anything on full online updates and on updating programs like the above).

Thanks for the answers!
 
Old 07-28-2007, 05:42 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
2. It depends. If you want a stable system, you should stick with 12.0. But if you want to have the bleeding edge Slackware packages, then you might want to stick with Current, but for Current, it's not started yet. Maybe in one or two months from now.
 
Old 07-28-2007, 05:55 AM   #3
odin123
Member
 
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks, willysr,

But let me get this straight: 12.0 keeps the original programs as they are, or does it periodically update them?

If it does keep the originals, what would be the use of pointing to that repository; if it does update them, then what would be the difference between 12.0 and current?

Cheers!
 
Old 07-28-2007, 06:11 AM   #4
XGizzmo
Member
 
Registered: Mar 2007
Distribution: Slackware
Posts: 264

Rep: Reputation: 69
current is the developmental branch and will break things at times, updates to slackware 12 will be put in 12.0/patches
 
Old 07-28-2007, 07:12 AM   #5
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,342

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by odin123
Thanks, willysr,

But let me get this straight: 12.0 keeps the original programs as they are, or does it periodically update them?
Cheers!
The original programs are periodically updated with security fixes. For example you can now update Fire Fox, Thunderbird and Seamonkey. These new packages are located in the patches directory at the Slackware site.

http://www.slackware.com/getslack/


There are many mirrors to choose from. For example.

ftp://carroll.cac.psu.edu/pub/linux/...tches/packages

Last edited by hitest; 07-28-2007 at 07:17 AM.
 
Old 07-28-2007, 07:14 AM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You have to realize that staying "current" has a different meaning when you run a stable release as opposed to running slackware-current.

A stable release like 12.0 will not get new packages or new versions of packages. What it will get after release, is patches to the packages where bugs have to be fixed. These patches will be published into the /patches directory of the Slackware tree (available on any mirror). By applying these patches as they are released, you stay "current" with the release.

The Slackware 'current' release is the development tree, where work is done towards a new stable release of Slackware. In slackware-current, new packages may get added, deprecated packages may disappear suddenly, and existing packages may be upgraded to their most recent version.

Staying "current" with slackware-current means that you will be upgrading packages often, like one or more per week if there is active development. It also means that if a bug is introduced to the -current tree, you are supposed to know how to fix it yourself, or report the bug to 'Slackware, Inc.' or wait for someone else to fix the bug. This means that if you are "just" an end user that needs a working computer and who does not want to tinker with his Slackware installation, you are much better of with a stable release. A slackware-current installation may be nonfunctional for days if you're unlucky and not familiar with how to debug your system.

A script that I wrote and which checks for patches for the stable releases (the ) and downloads any that are available is here: http://www.slackware.com/~alien/tool...are_patches.sh

If you add this line to your (or your root's) crontab, it will look for updates every night at 06:53 and download new patches - the example crontab line below checks Slackware 12.0 patches but you can change the "-r 12.0" to any other Slackware release number - and send your account an email with the results:

Code:
53 6 * * *     /usr/local/bin/rsync_slackware_patches.sh -q -r 12.0
- assuming that you downloaded the script to /usr/local/bin and made it executable by running

Code:
chmod 755 /usr/local/bin/rsync_slackware_patches.sh
This is the kind of email that you'll get (example for Slackware 11):

Quote:
[rsync_slackware_patches.sh:] New patches have arrived for Slackware 11.0 !

.......................................................................

0a1,9
> > Thu Jul 26 15:51:42 CDT 2007
> > patches/packages/bind-9.3.4_P1-i486-1_slack11.0.tgz:
> > Upgraded to bind-9.3.4_P1 to fix a security issue.
> > The query IDs in BIND9 prior to BIND 9.3.4-P1 are cryptographically weak.
> > For more information on this issue, see:
> > http://www.isc.org/index.pl?/sw/bind/bind-security.php
> > http://cve.mitre.org/cgi-bin/cvename...=CVE-2007-2926
> > (* Security fix *)
> > +--------------------------+
Eric
 
Old 07-28-2007, 08:00 AM   #7
odin123
Member
 
Registered: May 2002
Location: Lebanon
Distribution: PCLinuxOS
Posts: 80

Original Poster
Rep: Reputation: 15
Thanks a lot, guys!

Just pointed slackpkg to a 12.0 mirror, did an upgrade-all, and got new updates already, like firefox and thunderbird 2.0.0.5, as you mentioned.

That was an easy, clean, and no-nonsense process!

Cheers for splendid help!
 
  


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
Is slackware very boring in installing programs ? daziplqa Slackware 13 06-15-2007 11:31 AM
updating firefox and installing programs Zyphix Slackware 11 02-15-2006 05:03 PM
Problems Updating and Installing new programs with Yast PaleViper SUSE / openSUSE 3 12-14-2005 01:28 AM
installing programs on Slackware from cd ? jamaso Linux - General 3 02-04-2002 09:33 AM

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

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