** Summary changed:

- apt-mirror get stalled while it only remains 241Kb to download in 4 archives
+ apt-mirror by default uses a retry setting of "-t 0" meaning infinite retries

** Description changed:

  Binary package hint: apt-mirror
  
- apt-mirror get stalled while it only remains 241Kb to download in 4
- archives
+ apt-mirror by default uses a retry setting of "-t 0" meaning infinite 
retries, it will keep trying when it hits the non working IP. For some reason 
this IP does not supply a fatal error that makes wget stop retrying. To avoid 
this I edited apt-mirror the following way: 
+  
+ old: 
+ exec 'wget', '-t', '0', '-r', '-N', '-l', 'inf', '-o', 
get_variable("var_path") . "/$stage-log.$i", '-i', get_variable("var_path") . 
"/$stage-urls.$i"; 
+  
+ new: 
+ exec 'wget', '-t', '5', '-r', '-N', '-l', 'inf', '-o', 
get_variable("var_path") . "/$stage-log.$i", '-i', get_variable("var_path") . 
"/$stage-urls.$i";
+ 
+ But i don't think it's the best solution. there should be a way to
+ notify the user of the bad links or unreachable ips, blocked ips, bad
+ dns....

-- 
apt-mirror by default uses a retry setting of "-t 0" meaning infinite retries
https://bugs.launchpad.net/bugs/385763
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to