From e4a6e69522ce8f9d4e943cdc59a94d5341d18cbe Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 10 Jul 2008 19:08:16 +0000 Subject: - urpmi o fix --parallel --auto-select when one box is up-to-date but not the others (#41924) (backported from trunk) --- NEWS | 1 + urpm/parallel_ka_run.pm | 2 +- urpm/parallel_ssh.pm | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index d692832e..4d520db1 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,6 @@ - urpmi o fix displaying "files are missing" (regression introduced in 5.6) + o fix --parallel --auto-select when one box is up-to-date but not the others (#41924) Version 5.19 - 3 April 2008, by Pascal "Pixel" Rigaux diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm index a41500e4..fff6546f 100644 --- a/urpm/parallel_ka_run.pm +++ b/urpm/parallel_ka_run.pm @@ -231,7 +231,7 @@ sub parallel_install { /^\s*$/ and next; $bad_nodes{$node} .= $_; /Installation failed/ and $bad_nodes{$node} = ''; - /Installation is possible/ and delete $bad_nodes{$node}; + /Installation is possible|Packages are up to date/ and delete $bad_nodes{$node}; } close $fh or $urpm->{fatal}(1, urpm::N("rshp failed, maybe a node is unreacheable")); diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm index 69c93264..3ea3917d 100644 --- a/urpm/parallel_ssh.pm +++ b/urpm/parallel_ssh.pm @@ -246,7 +246,7 @@ sub parallel_install { while ($_ = <$fh>) { $bad_nodes{$node} .= $_; /Installation failed/ and $bad_nodes{$node} = ''; - /Installation is possible/ and delete $bad_nodes{$node}, last; + /Installation is possible|Packages are up to date/ and delete $bad_nodes{$node}, last; } close $fh; } -- cgit v1.2.1