Re: Yum on several machines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Timothy Murphy <tim <at> birdsnest.maths.tcd.ie> writes:

> I want to yum-update on several machines,
> and I want to avoid repeatedly downloading the same packages.
> So what I want when I run "yum update" on machine A
> is for it to look for RPMs in a specified directory

What I do is have a small bash script that rsync's the packages and headers in
the /var/cache/yum area from the one machine, where they are downloaded during
its own update, to the others.

Then I run a normal yum update on the other machines in the LAN after the rsync,
and they will get most of the rpm files from the rsync'ed data, but it leaves
the machines free to download any extras from the external repos.  Not all
machines have the same set of rpms necessary unless they are setup in identical
fashion.  

By doing it this way the files in /var/cache/yum use at least an order of
magnitude less disk space than if every rpm were stored on the main machine as a
fedora repo.  As far as I remember the full set is around 10GB, whereas the
machines I update generally only need less than 1GB even if they are updating
after a first install.

HTH
Mike

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux