From fed1b1e6d76356bcd877885592087567d39489dd Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 13 Oct 2008 09:55:24 +0000 Subject: - aria2: o do not use --max-file-not-found=3 when downloading rpms (since rpms are "versioned") --- NEWS | 4 ++++ urpm/get_pkgs.pm | 1 + 2 files changed, 5 insertions(+) diff --git a/NEWS b/NEWS index 5df1a0cd..5b14813d 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.14.2 - 9 October 2008 - updated translations from trunk 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 { -- cgit v1.2.1