proper recipe for local mirror

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



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@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux