summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-18 12:26:12 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-18 12:26:12 +0000
commit8045404d5bbb831af9ae1da74c5de1262e6653c3 (patch)
tree76fad9b11729f9f4fcbeb484f02a4fbd56b190a4
parentd2c361ac2e5f0d5a070ad0c68d379e5350a8ab52 (diff)
downloadurpmi-8045404d5bbb831af9ae1da74c5de1262e6653c3.tar
urpmi-8045404d5bbb831af9ae1da74c5de1262e6653c3.tar.gz
urpmi-8045404d5bbb831af9ae1da74c5de1262e6653c3.tar.bz2
urpmi-8045404d5bbb831af9ae1da74c5de1262e6653c3.tar.xz
urpmi-8045404d5bbb831af9ae1da74c5de1262e6653c3.zip
Don't print twice unsatisfied packages
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
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}})) : @{[]},
);