Hi! What is the proper solution for a local mirror for centos 7 (or oven 8) repositories?

trying with rsync, while the packages are downloaded but the repodata is not and is actually impossible to be used by clients. while i try to recreate the repodata with
createrepo -C -d --workers=4 ${repo}
where ${repo} is the sync destination where it contains %arch/{Packages,repodata} directories

the clients throw errors like:
<LOCAL_MIRROR>/mirrors/centos/7/updates/x86_64/repodata/51d63b04c8bb74c5d9f09ae65f763f319a69492d9a8fac5ea0bf9b63bf347c5c-primary.sqlite.bz2: [Errno 14] HTTP Error 404 - Not Found

What am i missing?
Thanks a lot!
Adrian
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to