Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fedora auto-update

Status
Not open for further replies.

stevexff

Programmer
Mar 4, 2004
2,110
GB
I have a number of PCs at home running Fedora 2 (soon to be Fedora 3). Fedora checks for available updates, and has an update application that will download them and install them for you.

Recently they issued an update for OpenOffice, which was absolutley huge (over 100MB with all the associated packages) and although I don't mind the download, I don't want to do it several times (once for each PC). From my perspective, it takes ages, and from a community standpoint I feel that I'm hogging time on the download server which should be available for someone else.

Is there any way that I can set up one of my PCs as a central point to download the updates, and then to tell all the others to check locally for new packages?.
 
This is a theoretical solution, not something that I've personally tried. I'll make the assumption that you'll be using apt for you updates. Whenever you update your system, apt will store all the downloaded files to /var/cache/apt/archives. The apt tool has a configuration file that tells it where to go to get updates. This file is located under /etc/apt/sources.list

In concept:
- Install httpd on your master server. Path your document root to /var/cache/apt/archives
- Edit the sources.list file on your clients to point to the master server.


--== Anything can go wrong. It's just a matter of how far wrong it will go till people think its right. ==--
 
If you are using yum look up your /var/cache/yum/updates-released/packages/ folder and you'll see you newly downloaded packages and you can install it on ach PC, no need to download it a 100 times. Your download is done only once, and all packages are saved that folder i specified above.
Hope it works.
 
Thanks for this, guys. I've since found a recent HOWTO for yum which looks like it may do the trick. I'll give it a try over the weekend, and post back the results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top