Create a Local Repository for Ubuntu in CentOS/RedHat

General support questions
Post Reply
giobaxx
Posts: 5
Joined: 2015/06/29 11:27:15

Create a Local Repository for Ubuntu in CentOS/RedHat

Post by giobaxx » 2018/04/15 12:26:03

We are trying to set up a a repo Sever for all the distro we have, and we would like to add also the ubuntu repos.
I'm newbie working with repos and basically the easiest way to mirror the ubuntu repos without using debian command like apt-mirror is using rsync, but doing that i will copy all the ubuntu repos and I would use a lot of space, while I would need only the repos for the the trusty and xenial distro.

There is a way to do it? or simply i need to copy all??

TAnks

User avatar
TrevorH
Forum Moderator
Posts: 24098
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Create a Local Repository for Ubuntu in CentOS/RedHat

Post by TrevorH » 2018/04/15 12:34:22

This really sounds like a question for the Ubuntu folks as whatever tooling they use for it it is probably not available on CentOS and using rsync would mean that you need to know the filesystem structure of an ubuntu repo. The people that know that best will be the Ubuntu community.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

giobaxx
Posts: 5
Joined: 2015/06/29 11:27:15

Re: Create a Local Repository for Ubuntu in CentOS/RedHat

Post by giobaxx » 2018/04/15 13:05:46

I hoped that someone had the same problem..
I took a look to the folder structure and seems that all the binaries for all the distro are in a folder named pool.....so really don't undestand how to select the binaries for the two distro i need....

..anyway tanks for your reply.

User avatar
TrevorH
Forum Moderator
Posts: 24098
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Create a Local Repository for Ubuntu in CentOS/RedHat

Post by TrevorH » 2018/04/15 13:08:21

so really don't undestand how to select the binaries for the two distro i need....
No, nor me. Which is exactly why I suggested you ask on an Ubuntu site as they are far more likely to know this than here.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Post Reply