On Thu, 8 May 2014 15:21:55 -0600
Nicholas Leippe <n...@leippe.com> wrote:

> But regardless, can't you set up a local package cache (ala
> http-replicator that gentoo uses--really just a simple caching http
> proxy) to reduce duplicate downloads from multiple machines and just
> not worry about it?

Debian has several specific packages for the purpose,

root@iorich:~# apt-cache search apt-cacher
approx - caching proxy server for Debian archive files
apt-cacher - Caching proxy for Debian package and source files
apt-cacher-ng - caching proxy server for software repositories
debtorrent - bittorrent proxy for downloading Debian packages
root@iorich:~# 

You will have to add a proxy to your apt setup:

Acquire::http::Proxy "http://aptcacherdeb.localdomain:3142";;

Then add this to a crontab.d file on each machine:

root    /usr/bin/apt-get update > /dev/null && /usr/bin/apt-get -dy
dist-upgrade > /dev/null

(all one line, wrapped by my mail client)

That will pull updated packages in to each machine so you don't sit
around waiting for apt-get to pull them when you upgrade.

While I agree with the aesthetic dislike of cruft and package bloat,
this and cheap storage space solve the bandwidth problem well enough
for me.

-- 

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to