Re: Maintaining a local yum repository



macgyver wrote:

When I had two servers running Fedora2 and both my wife and I's
workstation, and my laptop all running FC2 - what I did was get one of
the servers to do an automatic update at say 02:00 - and do not delete
the resultant packages...

The resultant packages were then NFS shared to the rest of the systems
as a background mount.....

The result - when yum ran on the rest of the machines, if it found those
packages already on disk - it didn't re-download them - thus saving
downloading everything 5 times..

Also no problems with keys - as still using the repo ;-)

Ok - didn't stop the download of what needed to be downloaded - but that
traffic was minimal compared to the actual packages.....

Helluva lot better (IMHO) that rsyncing the entire repo - 'cause you
won't need a vast majority of what that repo has..


Just my 2c
AM

I like that idea.

I could make a script on one machine that looks like this:

#!/bin/bash
yum $*
rsync -vRd /var/cache/yum/*/packages/*rpm /var/www/html/yum

and then use that to either make a local repository, or just copy it to the /var/cache/yum directories on my other machines.

I think that would do what I have in mind.

Thanks.

--
Derek Tattersall tatters@xxxxxxxxxxx

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: Another yum query
    ... Is it possible to avoid downloading update rpm's 3 times? ... What I would like is for yum to look in /common/RPMs first, ... and x86 machines I'm taking care of. ... Registergericht/Registration Court: Stuttgart ...
    (Fedora)
  • Re: [SLE] SMART Downloaded package locations.
    ... When I run smart update on the various machines I find my self ... downloading the same packages multiple times. ... I don't believe you can point the packages to another folder without changing ...
    (SuSE)
  • Re: ActiveTcl unbundling
    ... updating one existing package to a new version needs a separate ... machines - who wants, as an admin, to log into 1100 Windows machines ... list as downloading to get what used to be Activetcl - it is the ...
    (comp.lang.tcl)
  • Re: Workstations trying to GET /download/IEService215.chm HTTP/1.1 fr om 67.109.249.3
    ... > Analysis of the users' browsing activity did not reveal any pattern that ... > tells me that it belongs to XO. ... you can assume that machines downloading *.chm files have been ...
    (Incidents)
  • Re: XP repair install on new MB (retry post)
    ... 266MB installer to do all 3 machines in one go instead of each machine ... downloading the 110MB worth of updates it personally required. ... I must admit though I have seen no benefit to SP2 so far. ...
    (microsoft.public.windowsxp.hardware)