summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-09-12 14:03:18 +0000
committerFrancois Pons <fpons@mandriva.com>2002-09-12 14:03:18 +0000
commitd3049ca80bf1f48134e5bddbb1349276fdcfc3c4 (patch)
treeac91cc1300841697ad9dffe2e50a67cb8ca96166 /urpm
parentd3342b2ac576192753419c053d4b2db365fb6f57 (diff)
downloadurpmi-d3049ca80bf1f48134e5bddbb1349276fdcfc3c4.tar
urpmi-d3049ca80bf1f48134e5bddbb1349276fdcfc3c4.tar.gz
urpmi-d3049ca80bf1f48134e5bddbb1349276fdcfc3c4.tar.bz2
urpmi-d3049ca80bf1f48134e5bddbb1349276fdcfc3c4.tar.xz
urpmi-d3049ca80bf1f48134e5bddbb1349276fdcfc3c4.zip
4.0-17mdk
Diffstat (limited to 'urpm')
-rw-r--r--urpm/parallel_ka_run.pm4
-rw-r--r--urpm/parallel_ssh.pm4
2 files changed, 4 insertions, 4 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index f1d1f775..4d44e2ac 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -98,8 +98,8 @@ sub parallel_install {
local (*F, $_);
my ($node, %bad_nodes);
- $urpm->{log}("parallel_ka_run: rshp -v $parallel->{options} -- urpmi --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line}");
- open F, "rshp -v $parallel->{options} -- urpmi --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line} |";
+ $urpm->{log}("parallel_ka_run: rshp -v $parallel->{options} -- urpmi --pre-clean --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line}");
+ open F, "rshp -v $parallel->{options} -- urpmi --pre-clean --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line} |";
while (defined ($_ = <F>)) {
chomp;
s/<([^>]*)>.*:->:(.*)/$2/ and $node = $1;
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index db908add..22c3570e 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -104,8 +104,8 @@ sub parallel_install {
my %bad_nodes;
foreach my $node (keys %{$parallel->{nodes}}) {
local (*F, $_);
- $urpm->{log}("parallel_ssh: ssh $node urpmi --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line}");
- open F, "ssh $node urpmi --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line} |";
+ $urpm->{log}("parallel_ssh: ssh $node urpmi --pre-clean --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line}");
+ open F, "ssh $node urpmi --pre-clean --no-locales --test --no-verify-rpm --auto --synthesis $parallel->{synthesis} $parallel->{line} |";
while ($_ = <F>) {
$bad_nodes{$node} .= $_;
/Installation failed/ and $bad_nodes{$node} = '';