[Yum] Caching remote data for multiple computers

Pierre Guillet guillet.pierre at googlemail.com
Mon Dec 21 14:35:19 UTC 2009

Hello list,

In yum Wiki (http://yum.baseurl.org/wiki/YumMultipleMachineCaching)
for "rsync /var/cache/yum and set keepcache=1 in yum" solution, James
wrote in cons point:
preupgrade/etc. doesn't easily share data with "normal" yum, even if
they need the same data.

Can someone (James ?) explain this sentence ? What is "normal" yum ?
Does it means that I cannot perform a "yum upgrade" on a server, which
uses the replicated cache ?

Another question about this configuration:

Do you know a tool like a local yum makecache to rebuild metadata with
only the list of downloaded packages (RPM in yum cache) ?
May be a "createrepo" for each section in the cache ?

The server, which uses the replicated cache, uses the replicated
metadata and these metadata contain the list of all packages on the
original repository.
If somebody has installed a package directly with rpm command, yum
update fails if an update is available because the package is not in
the cache.
With the metadata restricted to the packages in cache, this problem
can't occur.


More information about the Yum mailing list