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

Re: How can I throttle down aptitude?



Daniel Burrows wrote:
> On Mon, Jan 19, 2009 at 08:58:36PM -0500, "H.S." <hs.samix@gmail.com> was heard to say:
>>> Apt(itude) should respect the following configuration setting:
>>>
>>> Acquire::http::Dl-Limit "7";  // 7Kb/sec maximum download rate
> 
>   [snip]
> 
>> I think this will be most useful when aptitude downloads updates
>> automatically (usually in a Ubuntu machine).
> 
>   Does Ubuntu install an aptitude cronjob?

er .. don't know for sure. I will try to find out. IIRC, it is an option
in its Administration -> Software Sources menu item if the logged in
user is an administrator.

Perhaps they use cron-apt, not sure.


> 
>> 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.
> 
>   aptitude -o Acquire::http::DL-Limit=<whatever> <arg>...

Wonderful. This also shows how to override other options. Thanks!

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.


Reply to: