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
 
LinkBack Search this Thread
Old 05-03-2004, 05:42 PM   #1
xushi
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?

Thanks,
 
Old 05-03-2004, 05:48 PM   #2
tank728
Member
 
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.

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

Original Poster
Rep: Reputation: 45
Quote:
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
quip
Member
 
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
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,166
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
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
Shade
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.

--Shade
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are 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 LinuxQuestions.org 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 02:55 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