[CentOS] Any alternatives for the horrible reposync

Tue Feb 27 11:29:55 UTC 2018
John Hodrien <J.H.Hodrien at leeds.ac.uk>

On Tue, 27 Feb 2018, Dennis Jacobfeuerborn wrote:

> Hi,
> I'm currently trying to mirror a couple of yum repositories and the only
> tool that seems to be available for this is reposync.
> Unfortunately reposync for some inexplicable reason seems to use the yum
> config of the local system as a basis for its work which makes no sense
> and creates all kinds of problems where cache directories and metadata
> gets mixed up.
> Are there any alternatives? Some repos support rsync but not all of them
> so I'm looking for something that works for all repos.

reposync uses whatever config file you point it at with "-c", only using
/etc/yum.conf if you don't bother.

jh