I've just been told that apt itself now has a builtin mechanism via a
config option for this, Acquire::http::Dl-Limit .

Since cron-apt seems to do a very similar thing, I think at the moment
a good idea would be to simply add a sample APTCOMMAND line directly below
the standard ones in /etc/cron-apt/config, e.g. something like:
# APTCOMMAND=/usr/bin/apt-get
# more elaborate sample (bandwidth limiting to 25kB/s, does foo and bar):
APTCOMMAND="/usr/bin/apt-get -o Acquire::http::Dl-Limit=25 -o foo=1"

APT config options don't seem to be too visible, thus a little bit more
exposure of useful settings would be nice.

Thanks,

Andreas Mohr



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to