Build Ubuntu apt repo on CentOS 8 server

Issues related to applications and software problems and general support
Post Reply
User avatar
warron.french
Posts: 616
Joined: 2014/03/27 20:21:58

Build Ubuntu apt repo on CentOS 8 server

Post by warron.french » 2021/03/30 22:03:26

Hello for work I am trying to build the fewest number of servers possible and consolidate the repositories of CentOS7, CentOS8, and Ubuntu-20.04.

I have figured out how to write a script that will let me use rsync to sync specifically targeted repos for:
CentOS8/
-AppStream
-BaseOS
-Extras


CentOS7/
-Base
-Upgrades
-Extras


But I really need to be able to get the dpkg files downloaded for a specific Ubuntu release (I think it's 16.04 LTS, not sure).

Has anyone done this? Is it possible? I do Google Searches of "build APT repo on CentOS" and instead find instructions on building an APT repo on a Ubuntu server. This is not the same.

Any advice would be welcomed. Perhaps I can use rsync or reposync to grab the Ubuntu packages?
Thanks,
War

Post Reply