Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Whenever I am downloading packages using Ubuntu Software Center (or any package manager for that matter), my Internet connection slows to an absolute crawl. In fact, most requests timeout.

Is there a way to limit the bandwidth that Software Center uses when downloading packages?

share|improve this question

1 Answer 1

up vote 17 down vote accepted

If the software centre uses apt-get (and I'm not actually sure that it does, so you will need to try this yourself), you should be able to do the following:

Create the file /etc/apt/apt.conf.d/76download with the following content:

Acquire
{
    Queue-mode "access";
    http
    {
        Dl-Limit "150";
    };
};

That limits apt-get to 150KB/s. I haven't tried it myself, so I can't verify that it will work for you.

share|improve this answer
    
I'm just as happy if 'apt-get' can be bandwidth-limited.. –  Nathan Osman Oct 4 '10 at 22:38
1  
Can I ask if this did work for the Software Centre? –  8128 Oct 5 '10 at 15:58
    
@flute: I'm afraid I only tried it for apt :) –  Nathan Osman Oct 5 '10 at 17:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.