Florian Kulzer wrote: > On Sun, Jan 18, 2009 at 10:05:21 -0600, Dennis Wicks wrote: >> Greetings; >> >> When aptitude is downloading packages it loads the network down so much >> that I can't do much of anything else that wants to get to the internet, >> either on the machine running aptitude or any other machine on the lan. >> Is there anyway that I can slow aptitude down so it doesn't monopolize >> the entire bandwidth? > > Apt(itude) should respect the following configuration setting: > > Acquire::http::Dl-Limit "7"; // 7Kb/sec maximum download rate > > (I never tried this myself, I just copied it from > /usr/share/doc/apt/examples/configure-index.gz.) >
Wonderful tip. I had been wondering about the bandwidth control for aptitude downloads (and not anything else) for quite some time. I put this in /etc/apt/apt.conf file: // Options for the downloading routines Acquire { // HTTP method configuration http { Dl-Limit "10"; // 7Kb/sec maximum download rate }; }; and now aptitude download is limited to around that value in Kb/sec (Kilobits/sec). I think this will be most useful when aptitude downloads updates automatically (usually in a Ubuntu machine). However, while having this option in apt.conf, is there a method to override or ignore this from aptitude command line? For example, I would like to limit the download rate for automatic aptitude downloads which happen in background but would like to use more bandwidth while updating a system myself from the command line. Regards. -- Please reply to this list only. I read this list on its corresponding newsgroup on gmane.org. Replies sent to my email address are just filtered to a folder in my mailbox and get periodically deleted without ever having been read. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org