[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sources.list

>>>>> On 12 Feb 2001 09:28:46 -0500, Fraser Campbell <fraser@starnix.com> said:

 Fraser> Duane Powers <duane@uberLAN.net> writes:
 >> I have a question - I have a dozen boxen that I am maintaining,
 >> all with Debian ( almost all potato - one woody) I would like to
 >> save bandwidth and centralize administration by utilizing one of
 >> the boxes as a apt-get source. then I can apt-get update ; apt-get
 >> dist-upgrade ; done, on one box, and save all the .deb's then use
 >> those .deb's for the other boxen without actually mirroring the
 >> whole debian site.

 Fraser> I've taken the simple route ... squid.  Install squid, on all
 Fraser> your boxes export the http_proxy (and/or ftp_proxy)
 Fraser> environment variable.  apt-get will pull everything through
 Fraser> squid.  The next box you upgrade will have cached .debs in
 Fraser> squid.  This of course doesn't save things permanently which
 Fraser> may be what you want.

 Fraser> Someone mentioned apt-proxy, there is also apt-move which
 Fraser> will take /var/cache/apt/archives/*.deb and move them into a
 Fraser> local Debian heirarchy.

Also instead of using an env var you can add this to /etc/apt/apt.conf

Acquire {
 http::Proxy "";;


@James LewisMoss <dres@debian.org>      |  Blessed Be!
@    http://jimdres.home.mindspring.com |  Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach

Reply to: