Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 05-03-2004, 05:42 PM   #1
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
short(er) cut to using swaret.

Hello all,

I've got 5 machines in my room running slackware, and every now and then a big load of packages (~50Mb onwards) need to be upgraded with slackware.

Its a pain and a waiste of bandwidth to run swaret on each machien and download them 20Mb or 50Mb five times on all five machines.

Is there a way i can download all the updates on one of the machines (and update it ofcourse), and let swaret use these downloaded updates instead of re-downloading them again from the web?

Old 05-03-2004, 05:48 PM   #2
Registered: Sep 2003
Posts: 142

Rep: Reputation: 16
5 machines that is a good amount of machines. But anyways. In the default /etc/swaret.conf file it saves all of the downloads to /var/swaret. Then on one of the machines you can run samba, you run this on the machine with the most recently downloaded packages of course. Then from the client computers mount the network drive and cd to the mounted directory, and installpkg.

Old 05-03-2004, 05:53 PM   #3
Senior Member
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Originally posted by tank728
5 machines that is a good amount of machines. But anyways.
i thought of making use of the old machines.. feel free to take some if you live in london =)

Thanks, i dont presume there's an automated way in installing the packages is there? just incase i get 20+ packages to install ?
Old 05-03-2004, 06:06 PM   #4
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
As far as automated, just let swaret run as a cron job with the -a switch after --upgrade; it will d/l and install all upgradeable packages automatically.

But what I believe you are asking about is something more along the lines of creating your own local repository. This is very doable, although I can't say exactly how. One machine can check and update the packages daily (sync up with mirrors) and the other machines would just need the path to that machine added to swaret.conf. I think I saw something concerning this in the faq or forum on the swaret site.
Old 05-03-2004, 06:07 PM   #5
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,191
Blog Entries: 4

Rep: Reputation: 464Reputation: 464Reputation: 464Reputation: 464Reputation: 464
In swaret.conf on your 5 machines, you should be able to add a line (and comment out the rest) which points to the download folder on your main box. Then run swaret --update and swaret --upgrade -a - you could even set it as a cron job, if you feel adventurous.
Old 05-03-2004, 06:50 PM   #6
Senior Member
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
I use NFS for syncing my packages between laptop and desktop, and have /var/cache as an export on my desktop to share to my laptop. Makes it pretty easy to do upgrades and the like, only downloading once.
I don't use swaret, though, I use slapt-get.



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
Fedora Short-cut keys joeman3429 Fedora 2 02-27-2013 12:44 AM
Kernel compilation - is there a short cut ? prabhatsoni Linux - Software 1 11-30-2004 03:42 AM
short cut to a file in the path balloon Linux - Software 1 11-15-2004 01:35 PM
Short-Cut Keys sathiskanna Member Success Stories 1 09-08-2003 11:06 PM
Short-cut keys SnowSurfAir Linux - Hardware 4 04-04-2003 09:29 AM

All times are GMT -5. The time now is 05:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration