Mirror CentOS8 repository in CentOS7 Server via reposync

General support questions
Post Reply
psuresh
Posts: 6
Joined: 2017/07/03 13:47:48

Mirror CentOS8 repository in CentOS7 Server via reposync

Post by psuresh » 2020/07/02 14:13:37

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

User avatar
TrevorH
Site Admin
Posts: 33220
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Post by TrevorH » 2020/07/02 15:07:11

Use rsync.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

sankeerth283
Posts: 1
Joined: 2020/07/07 02:29:38

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Post by sankeerth283 » 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

psuresh
Posts: 6
Joined: 2017/07/03 13:47:48

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Post by psuresh » 2020/07/07 07:24:18

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 ?

psuresh
Posts: 6
Joined: 2017/07/03 13:47:48

Re: Mirror CentOS8 repository in CentOS7 Server via reposync

Post by psuresh » 2020/07/23 17:17:23

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

Post Reply