From ecb2ba937d2cc0a9f864ab98c5e99a3872794a5c Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 28 Jul 2003 15:15:05 +0000 Subject: 4.4-13mdk --- urpm.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'urpm.pm') diff --git a/urpm.pm b/urpm.pm index fd8a178b..e42f3424 100644 --- a/urpm.pm +++ b/urpm.pm @@ -2982,7 +2982,9 @@ 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), - $rb->{promote} ? N("trying to promote %s by selection of %s", $rb->{promote}, $rb->{psel}) : @{[]}); + $rb->{promote} && !$rb->{keep} ? N("trying to promote %s", join(", ", @{$rb->{promote}})) : @{[]}, + $rb->{keep} ? N("in order to keep %s", join(", ", @{$rb->{keep}})) : @{[]}, + ); $_ . ($s ? " ($s)" : ''); } @l; } -- cgit v1.2.1