I want to create a partial apt repository for Ubuntu Linux for use in my local intranet. The Ubuntu mirroring website
says I require 220 GB for this, and that this requirement is bound to grow as the software base expands. However, this being a local repository, I am sure that a very small subset of these packages will actually be required.
What I'm looking for is a means to maintain a small set of packages, which will be regularly updated. All requests for a package installation or upgrade will pass through this repository, which will download a copy of the same if it doesn't have one, and forward it to the client. A bit of searching turned up 2 packages that allow this for apt repositories: apt-proxy and approx. However, apt-proxy starts refusing connections
, and I'm not sure if approx has similar issues. Could reprepro be configured to provide a similar behaviour?
Secondly, does a similar infrastructure exist for yum repositories?