Watching movies online and updating my Ubuntu laptop at the same time doesn’t go well together with my DSL internet connection. This apt configuration snippet, makes sure apt will not consume your bandwith:
Acquire
{
Queue-mode "access";
http
{
Dl-Limit "20";
};
};
It should be placed in a file in /etc/apt/apt-conf.d/. For more info, consult the apt.conf man page.