LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-16-2005, 12:38 PM   #1
javamdk
Member
 
Registered: Jul 2004
Location: Indiana
Distribution: Slackware 10.1, Debian
Posts: 64

Rep: Reputation: 15
Question Updating Slackware Packages


What is a good way to keep the Slackware packages current?

Is there a script with Slackware that does auto updates and/or installs?

Thanks
 
Old 03-16-2005, 12:43 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
There are several utilities to do this, (take a look at the /extras directory or search the web, i don't want to mention anyone) however be carefull because they don't do everything automagically for you (no dependence checking, etc) so you should also read the ChangeLog also to see if there's something that you have to do manually.
 
Old 03-16-2005, 01:51 PM   #3
aktasch
LQ Newbie
 
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
you can use slapt-get. an imitatation of debian's apt-get.
 
Old 03-16-2005, 03:25 PM   #4
AxelFendersson
Member
 
Registered: Mar 2004
Location: Darkest Oxfordshire
Distribution: Arch, Slackware
Posts: 184

Rep: Reputation: 30
Re: Updating Slackware Packages

Quote:
Originally posted by javamdk
What is a good way to keep the Slackware packages current?
The best way is to keep an eye on the changelog and download and upgrade the packages manually as they are released. The only downside to this approach is, of course, that it's quite time-consuming. Which brings us on to...
Quote:
Originally posted by javamdk
Is there a script with Slackware that does auto updates and/or installs?
Not in the official distribution, but there are a few third-party tools that might be what you're looking for. SWareT, Slapt-get, SlackPkg and possibly a few others all try to add package management features to Slackware, but be warned that they can be unreliable, especially if you assume that they will do everything automagically. Some people have no trouble with them at all, but others have been less lucky.
 
Old 03-16-2005, 03:58 PM   #5
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
Quote:
Originally posted by AxelFendersson
but be warned that they can be unreliable, especially if you assume that they will do everything automagically. Some people have no trouble with them at all, but others have been less lucky.
Yes, PLEASE read the current changelog before making any package upgrades from the official mirrors, and ALWAYS view any new config files that are created. Slackware requires that you take a part in managing your own system, and if you are negligent there can be issues that develop.
 
Old 03-17-2005, 12:13 AM   #6
javamdk
Member
 
Registered: Jul 2004
Location: Indiana
Distribution: Slackware 10.1, Debian
Posts: 64

Original Poster
Rep: Reputation: 15
Great advice, thank you =)

Do you think it's just better to fetch current software packages from linuxpackages.net then install with installpkg or upgradepkg? That way I shouldn't run into too many problems, right?

Thanks again
 
Old 03-17-2005, 01:47 AM   #7
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
use an official mirror
 
Old 03-17-2005, 01:47 AM   #8
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
I just keep a copy of slack-current using rsync on an extra partition. I also wrote a little script using the find, file, ldd, grep, and gawk commands that checks to see if all the dependencies are satisfied for the binaries and libraries. I don't use any slackpkg or swaret stuff. No need. I think it just makes things more complicated.
 
Old 03-17-2005, 06:25 PM   #9
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally posted by chbin
I just keep a copy of slack-current using rsync on an extra partition. I also wrote a little script using the find, file, ldd, grep, and gawk commands that checks to see if all the dependencies are satisfied for the binaries and libraries. I don't use any slackpkg or swaret stuff. No need. I think it just makes things more complicated.
hey that sounds cool... could you share the script with us please??
 
Old 03-17-2005, 11:04 PM   #10
mio_carpe
Member
 
Registered: Jan 2005
Location: FL, USA
Distribution: Minislack & Gentoo
Posts: 32

Rep: Reputation: 15
Use slapt-get, it will save you some time!
about SWareT, I don't have a good experience with it.!


good luck!!!
 
Old 03-18-2005, 12:49 AM   #11
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
I use both slapt-get and swaret but prefer slapt-get for a few technical reasons...

I'll also parrot the official mirror mantra.

If you want to update the package LIST (but not actually install new packages) automatically you can add this script to /etc/cron.weekly/update-slapt-swaret. It's written for swaret and slapt-get since I run both.

Code:
#!/bin/sh
/usr/bin/nice /usr/sbin/slapt-get --update
/usr/bin/nice /usr/sbin/swaret --update
/usr/bin/nice /usr/bin/updatedb -c
Then you can run a slapt-get --upgrade at your convenience and check which new packages there might be to install.
 
Old 03-18-2005, 07:37 AM   #12
aikempshall
Member
 
Registered: Nov 2003
Location: Bristol, Britain
Distribution: Slackware
Posts: 379

Rep: Reputation: 37
I use kpackage to keep informed of whats new in current and/or patches.
 
  


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
Updating packages from redhat - insatlling *.hdr packages jomy Linux - Networking 1 01-18-2005 08:36 AM
updating packages tommytomato Linux - General 6 09-01-2004 04:31 PM
Updating Packages PDAOmega Linux - Newbie 3 07-21-2004 06:31 PM
Updating packages Kroenecker Linux From Scratch 2 07-05-2004 11:57 AM
updating packages jogurt666 Debian 2 01-10-2004 01:11 PM


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