pthanos
November 18th, 2006, 02:00 PM
Hello all,
I recently had a problem with my apt not resuming downloads from were it was interrupted. That really made the apt system unusable for big downloads, since everytime some big package would "stall" while downloading.
I resolved that problem: it wasnt a problem of apt, but of the .dk mirror I was using. I wonder why the danish guys are not allowing download resume.
What I want to ask is: how can you tweak apt-get into not stalling?? For example with wget, you can set the write-timeout (or something like that) to 10sec for example. If nothing is written on the buffer for 10seconds, the download is considered to have stalled and it is restarted. This way you can easily finish a big file, without having to restart by hand or wait 200seconds for the default timeout to occur.
Is there something similar in apt-get? How does apt-get downloads its stuff? I couldnt find a config option for somehting like this. Apt by default just stops downloading when a timeout is reached.
Thanks.
I recently had a problem with my apt not resuming downloads from were it was interrupted. That really made the apt system unusable for big downloads, since everytime some big package would "stall" while downloading.
I resolved that problem: it wasnt a problem of apt, but of the .dk mirror I was using. I wonder why the danish guys are not allowing download resume.
What I want to ask is: how can you tweak apt-get into not stalling?? For example with wget, you can set the write-timeout (or something like that) to 10sec for example. If nothing is written on the buffer for 10seconds, the download is considered to have stalled and it is restarted. This way you can easily finish a big file, without having to restart by hand or wait 200seconds for the default timeout to occur.
Is there something similar in apt-get? How does apt-get downloads its stuff? I couldnt find a config option for somehting like this. Apt by default just stops downloading when a timeout is reached.
Thanks.