Page 1 of 1

Mirror CentOS8 repository in CentOS7 Server via reposync

Posted: 2020/07/02 14:13:37
by psuresh
Hi,

I'm running CentOS7 server as ImageServer and local repository server. And i need to mirror CentOS8 repository ( http://mirror.centos.org/centos-8/8.1.1 ... x86_64/os/ ) in my CentOS7 Server.

If i mirror CentOS8 repository using repo sync command in CentOS7 it did not properly mirror centos8 repository, due to that when i install package from CentOS8 client machine getting following error.

No available modular metadata for modular package 'python3-lldb-8.0.1-1.module_el8.1.0+215+a01033fb.x86_64', it cannot be installed on the system
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: No available modular metadata for modular package

Can you please suggest proper way to mirror CentOS8 repository in CentOS7 Server?

Thanks in advance

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Posted: 2020/07/02 15:07:11
by TrevorH
Use rsync.

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Posted: 2020/07/07 02:33:35
by sankeerth283
Hi,

May i know how to use rsync to clone data from centos public mirror.

Ex: i am using http://ftp.yz.yamagata-u.ac.jp/pub/linu ... x86_64/os/

Thanks,
Suru

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Posted: 2020/07/07 07:24:18
by psuresh
Thanks, With Rsync working fine. Is there any tools available for CentOS7 to support modularity based repository sync so that we can sync repository via http protocol ?

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Posted: 2020/07/23 17:17:23
by psuresh
sankeerth283 wrote:
2020/07/07 02:33:35
Hi,

May i know how to use rsync to clone data from centos public mirror.

Ex: i am using http://ftp.yz.yamagata-u.ac.jp/pub/linu ... x86_64/os/

Thanks,
Suru
Like this:
rsync -avSHP --delete rsync://mirror.liquidtelecom.com/centos/8.1.1911/BaseOS/x86_64/os/ /var/www/cobbler/repo_mirror/CentOS8.1-BaseOS