summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/download.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 4cc0b2f1..e6834437 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,8 @@
- urpmf
o bug fix -m (#31452)
- all tools
+ o 4.9.26 is broken when downloading with wget since it creates hdlist.cz.1
+ files. fixing using --force-clobber option (! need a patched wget !)
o hide rsync errors by default to hide false positives,
but allow getting them with --debug
diff --git a/urpm/download.pm b/urpm/download.pm
index 3fa605ce..79707205 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -233,7 +233,7 @@ sub sync_wget {
#- construction of the wget command-line
"/usr/bin/wget",
($options->{limit_rate} ? "--limit-rate=$options->{limit_rate}" : ()),
- ($options->{resume} ? "--continue" : ()),
+ ($options->{resume} ? "--continue" : "--force-clobber"),
($options->{proxy} ? set_proxy({ type => "wget", proxy => $options->{proxy} }) : ()),
($options->{retry} ? ('-t', $options->{retry}) : ()),
($options->{callback} ? ("--progress=bar:force", "-o", "-") :