summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/download.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index c68132db..db844d41 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -655,6 +655,7 @@ sub sync_aria2 {
my $aria2c_command = join(" ", map { "'$_'" }
"/usr/bin/aria2c", $options->{debug} ? ('--log', "$options->{dir}/.aria2.log") : (),
"--auto-file-renaming=false",
+ '--ftp-pasv',
"--follow-metalink=mem",
'--metalink-enable-unique-protocol=false', # so that it can try both ftp and http access on the same server. aria2 will only do this on first calls
'--max-tries=1', # nb: not using $options->{retry}