From 8045404d5bbb831af9ae1da74c5de1262e6653c3 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Thu, 18 Aug 2005 12:26:12 +0000 Subject: Don't print twice unsatisfied packages --- urpm.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urpm.pm b/urpm.pm index 479dfd8a..c8f7a9b4 100644 --- a/urpm.pm +++ b/urpm.pm @@ -3203,7 +3203,7 @@ sub translate_why_unselected { my @unsatisfied = @{$rb->{unsatisfied} || []}; my $s = join ", ", ( (map { N("due to missing %s", $_) } @froms), - (map { N("due to unsatisfied %s", $_) } @unsatisfied), + (map { N("due to unsatisfied %s", $_) } uniq @unsatisfied), $rb->{promote} && !$rb->{keep} ? N("trying to promote %s", join(", ", @{$rb->{promote}})) : @{[]}, $rb->{keep} ? N("in order to keep %s", join(", ", @{$rb->{keep}})) : @{[]}, ); -- cgit v1.2.1