Hi Andreas Thanks a lot for the information. I will add this to the cron-apt configuration so that it is documented there.
However I have a question. The "-o foo=1" what does it do? I suggest to document this as OPTIONS="-o Acquire::http::Dl-Limit=25" or is this foo=1 needed as well? I can not find that in the documentation. Best regards, // Ola On Sat, Nov 21, 2009 at 10:48:24AM +0100, Andreas Mohr wrote: > 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 > -- --- Inguza Technology AB --- MSc in Information Technology ---- / o...@inguza.com Annebergsslingan 37 \ | o...@debian.org 654 65 KARLSTAD | | http://inguza.com/ Mobile: +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org