[ubuntu-us-ut] Pass-through Cache for Apt?

Charles Curley charlescurley at charlescurley.com
Tue Oct 2 19:33:32 BST 2007


I will be converting several machines from Fedora to Ubuntu. I have in
the past mirrored Fedora repositories on my main server. I know there
is software to do that for deb packages. But I'd like to try something
a bit different:

Is there a way to cache deb packages on a server? To only pull in
packages actually requested? Something like: Machine A asks the cache
for package foo. It isn't in cache, so the cache goes to the
appropriate upstream repository, gets it and feeds it to A as it comes
in. Later, Machine B asks for foo. It's in cache, so the sever simply
tosses it to B without going on the Internet.

The problem with using SQUID or other proxy servers is that the cache
would have to refresh meta-information (e.g. lists of available
packages) much more aggressively than it would the packages
themselves. Or is there a way to do that?

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-us-ut/attachments/20071002/ad31575a/attachment.pgp 


More information about the ubuntu-us-ut mailing list