There is a package that sorta does what you want... it's called apt-proxy. You set up a box as your apt-proxy, and point all of your machines to that box. Every time someone downloads a package, it is cached on the apt-proxy; thus the first time you download, it will be slow, but subsequent downloads are done over the local network.
I don't know a whole lot about the packacge, other than it mostly works. It uses RSYNC rather than HTTP or FTP to get the package from other Debian servers... not sure why this is. It also is a little flaky; It often gets to 99% when downloading a package, and then freezes. At that point I have to ^C and restart the apt-get upgrade/install/whatever and it works fine. I highly recommend the package. --Aaron Traas Don Werve wrote: > > I hope I'm not asking for something that has been re-hashed a few dozen > times, but a Google search hasn't turned much up, and this is a bit of > an irritant. > > How would one go about setting up a local partial APT mirror? One that > mirrors only specific trees (such as stable and testing), and can exclude > arbitrary types of packages (such as source or PA-RISC binaries)? I've > looked at Absurd's scripts, but they seem designed for the older APT > structure, and aren't happy with the pool at all. > > I'd like to set up a machine at my place-of-Ork that I can throw this > partial mirror on, and then have all the Debian boxen we use point to it > instead of at the Debian servers, thus using less of our (and the Debian > Project's) available bandwidth. > > Thanks-in-advance! > > -- > Don Werve <[EMAIL PROTECTED]> > Unix System Administrator > > Plus je vois les hommes, plus j'admire les chiens. > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]