summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-10-13 09:54:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-10-13 09:54:22 +0000
commit1c270672861e593647e61e4052ef965624ced97b (patch)
tree900d85e6cda6eb88ff1bbccb5b7fe1fc3c7599da
parent5490a144b503dabe87cc52d78e5d735091370f1a (diff)
downloadurpmi-1c270672861e593647e61e4052ef965624ced97b.tar
urpmi-1c270672861e593647e61e4052ef965624ced97b.tar.gz
urpmi-1c270672861e593647e61e4052ef965624ced97b.tar.bz2
urpmi-1c270672861e593647e61e4052ef965624ced97b.tar.xz
urpmi-1c270672861e593647e61e4052ef965624ced97b.zip
- aria2:
o do not use --max-file-not-found=3 when downloading rpms (since rpms are "versioned")
-rw-r--r--NEWS4
-rw-r--r--urpm/get_pkgs.pm1
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4c5d7f56..8de11bde 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- aria2:
+ o do not use --max-file-not-found=3 when downloading rpms
+ (since rpms are "versioned")
+
Version 6.16 - 8 October 2008
- urpmi:
diff --git a/urpm/get_pkgs.pm b/urpm/get_pkgs.pm
index 65521ac4..e5a9b5b8 100644
--- a/urpm/get_pkgs.pm
+++ b/urpm/get_pkgs.pm
@@ -213,6 +213,7 @@ sub _download_packages_of_distant_media {
$urpm->{log}(N("retrieving rpm files from medium \"%s\"...", $blist->{medium}{name}));
if (urpm::download::sync_rel($urpm, $blist->{medium}, [ urpm::blist_to_filenames($blist) ],
dir => "$cachedir/partial", quiet => $options{quiet},
+ is_versioned => 1,
resume => $urpm->{options}{resume}, callback => $options{callback})) {
$urpm->{log}(N("...retrieving done"));
} else {