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 or forced to make the mirror using apt-mirror with ubuntu
-
Unsolved Create a Local Repository for Ubuntu in CentOS/RedHat
-
I believe I understand what you're trying to do but is there a reason for you doing it without using
apt-mirror
?I found this link that may set you on the right path for limiting what you're mirroring but using
apt-mirror.
Cordially,
Ronnie Wong
Edutainer Manager, ITProTV*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV. -
Giovanni,
Good question, and as Ronnie has already offered some great guidance, I just wanted to circle back to the rsync option for a moment, as you can also use it to accomplish what you want to do. You would want to check into the -include and -exclude parameters for use with rsync. You can see a little more about them here:
https://www.tecmint.com/rsync-local-remote-file-synchronization-commands/
While not as "easy" to use as apt-mirror, these parameters would allow you to achieve the same result.
Just in case you were looking for different options.
Cheers,
Adam