Re: Maintaining a local yum repository



On Sat, 2008-01-26 at 11:57 -0800, Aldo Foot wrote:
On Jan 26, 2008 8:25 AM, Derek Tattersall <tatters@xxxxxxxxxxx> wrote:
Hello,

I currently have 3 computers running Fedora 8. I think it would probably
be a good thing to set up a local repository for yum, rather than
downloading each package 3 times.

I have looked at the howto at www.howtoforge.com, and I am not really
happy with the method described there. It involves picking a particular
mirror and using rsync to keep the local repository up to date.

It seems to me that this would have some problems. For one thing it puts
a bigger load on whichever mirror I am rsync'ing to. For another thing,
It seems to that there might be some security issues with just grabbing
the packages without checking the key as yum does.

Is there a better way to keep a local repository up to date? Ideally, I
would like to find a way to just download the packages that my local
users ask for, not the whole thing. And I would prefer to use the mirror
list at fedora rather than just use one particular server.

I would also prefer to automate the whole process rather than doing it
manually.

Does anybody have any ideas about this? Or would I be better off just
continuing to use the fedora repository?

Thanks

--
Derek Tattersall tatters@xxxxxxxxxxx




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



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



Relevant Pages

  • Re: post installation problems
    ... I am also fairly new to linux, and very new to Fedora. ... It runs, checks the packages I have installed, allows me ... packages that need downloading, but then will stop at the beginning of any ...
    (Fedora)
  • Re: Fedora Extras is extra
    ... BTW Some Red Hat packages used to have similar things ... > external contraints allow you to bend to work inside what fedora ... > but not their own infrastructure for distribution. ... Fedora Extras will have the same policy. ...
    (Fedora)
  • Re: Still no joy with yum
    ... --> Populating transaction set with selected packages. ... sudo yum install mplayer # then we try again... ... what version of Fedora are you running? ...
    (Fedora)
  • [Full-disclosure] [FLSA-2006:186277] Updated sendmail packages fix security issues
    ... Fedora Legacy Update Advisory ... Updated sendmail packages that fix a security issue are now ... The sendmail package provides A widely used Mail Transport Agent. ... with the addition of the security patch supplied by Sendmail Inc. ...
    (Full-Disclosure)
  • [FLSA-2006:186277] Updated sendmail packages fix security issues
    ... Fedora Legacy Update Advisory ... Updated sendmail packages that fix a security issue are now ... The sendmail package provides A widely used Mail Transport Agent. ... with the addition of the security patch supplied by Sendmail Inc. ...
    (Bugtraq)