We have several linux workstations on the local network, with more on the way and I'd like to set up a local repository to save bandwidth and speed up installation and updates. However, we use CentOS for servers, and the workstations are a combo of Fedora and Ubuntu.
I've looked around and have seen how to do this for Fedora or Ubuntu, but I was wondering how to best go about this. Ideally, it downloads a package once when it's requested and stores it in a cache, re-downloading only when the package updates.
Any other ideas? lftpfs looked like a good idea, but I couldn't get it to work stably. I guess I could set up a squid proxy, but I was under the impression it cached based on TTL, rather than timestamp on the remote package, and I don't want to allow other browsing through the proxy, as the network is quite locked down.