diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-13 09:55:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-13 09:55:24 +0000 |
commit | fed1b1e6d76356bcd877885592087567d39489dd (patch) | |
tree | 138ed1f9926107ff7ce049660dde3d355a0b37f1 | |
parent | 01b83be13badf4a21a07433a9994005c8a787c65 (diff) | |
download | urpmi-fed1b1e6d76356bcd877885592087567d39489dd.tar urpmi-fed1b1e6d76356bcd877885592087567d39489dd.tar.gz urpmi-fed1b1e6d76356bcd877885592087567d39489dd.tar.bz2 urpmi-fed1b1e6d76356bcd877885592087567d39489dd.tar.xz urpmi-fed1b1e6d76356bcd877885592087567d39489dd.zip |
- aria2:
o do not use --max-file-not-found=3 when downloading rpms
(since rpms are "versioned")
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | urpm/get_pkgs.pm | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -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 { |