Limit APT download rates/speed

First: OMG-THIS-IS-AN-ENGLISH-POST

Second: Yeah, as i said in my previous post (doh!) im re-installing Debian on my notebook and one thing i found myself wanting to do was to lower the download rate to some number that i can keep using my connection on a different (or not) pc while downloading big collections of packages. 

Here is how i made it:

Create a file called: /etc/apt/apt.conf.d/75downloadspeed

Acquire

{

  Queue-mode "access";

  http

  {

    Dl-Limit "25";

  };

};

This also can be done on the fly:

sudo apt-get -o Acquire::http::Dl-Limit=25 upgrade

That's it!, enjoy my l33tness

About
Related Posts
  • Paquetes recomendados en Debian

    Me puse a formatear mi notebook (la partición del S.O.), no porque tuviese problemas sino por un tema de prolijidad. Recuerdo que ha pasado algún dist-upgrade y además fue en la época pre-autoremove

Comments
The comments are closed on this section.
Hire me!

I'm currently open for new projects or join pretty much any project i may fit in, let me know!

Read about what I do, or contact me for details.

Categories