LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-03-2007, 11:23 AM   #1
vivek.sesha
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
Regarding Software Updates


hi,

is it possible for me to automate software updates. I heard something about this push and pull funda.. we have a lab in which there are around 50 comps. so we would like to make the software updates automated (may be controlled by an administrator) so that we need not go and do the updates on every single machine.

Vivek
 
Old 07-03-2007, 12:18 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
Yes, automatic updates and creating a local repository (so updates are only downloaded once) is straightforward. The details of how you do it are a function of the distribution and release, and usually documented by the distribution.

If you add your distribution information to your profile, it will make it easier for folks to respond to your questions.
 
Old 07-03-2007, 12:19 PM   #3
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Yes, set a cronjob on each machine. The method will vary depending on what distro you're using. Generally speaking, I download all the updates and create a local package repository of the updates. That I only have to download once and then all the clients in the lab can download from that machine (saves internet bandwidth).

Note that this isn't recommended for bleeding edge distributions or production servers.
 
Old 07-04-2007, 03:15 AM   #4
vivek.sesha
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by macemoneta
Yes, automatic updates and creating a local repository (so updates are only downloaded once) is straightforward. The details of how you do it are a function of the distribution and release, and usually documented by the distribution.

If you add your distribution information to your profile, it will make it easier for folks to respond to your questions.
Actually we are thinking of what distribution to install. One of the issues regarding that is the software update problem. i think it will mostly be Debian Etch.
 
Old 07-04-2007, 11:33 AM   #5
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
For Debian, you would rsync the updates from a local mirror, and update your apt sources to point to your local copy. As pljvaldez then indicated, you would cron a script to run apt to update your system. By controlling the updates that go into your local copy, you control the updates that will get applied to each system.
 
Old 07-05-2007, 11:22 AM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Google for "apt proxy howto" and you'll get a lot of different pages outlining how to setup a single server to download updates. Then all the other machines can get their updates from that one server.

Here's one.

Last edited by pljvaldez; 07-05-2007 at 11:25 AM.
 
Old 07-07-2007, 02:00 AM   #7
vivek.sesha
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pljvaldez
Google for "apt proxy howto" and you'll get a lot of different pages outlining how to setup a single server to download updates. Then all the other machines can get their updates from that one server.

Here's one.
Thanks for that one.
 
  


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
Ubuntu 6.1? Prepackaging all the Software Updates? cyent Ubuntu 6 07-16-2006 10:40 PM
software updates paranoid times Mandriva 5 02-28-2006 02:50 AM
installing software updates in Suse 9.1 smokeyjoe SUSE / openSUSE 3 11-27-2004 01:09 AM
Looking for a good virus software with updates for linux sjia Linux - Software 2 03-08-2004 11:09 PM
Mandrake 9.0 Software Updates not working... davecs Linux - Software 4 02-10-2003 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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