From fdae4ce8d7357ad04d55888c2b294648b9f58155 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 28 Jul 2009 13:14:16 +0000 Subject: translate_why_unselect: add "conflicts" reason Patch by Anssi Hannula, fixes bug #52153 --- urpm/select.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'urpm') diff --git a/urpm/select.pm b/urpm/select.pm index ff144d39..59c56c6e 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -558,7 +558,9 @@ sub translate_why_unselected_one { my $obj = $state->{rejected}{$fullname}; my $rb = $obj->{backtrack}; my @unsatisfied = @{$rb->{unsatisfied} || []}; + my @conflicts = @{$rb->{conflicts} || []}; my $s = join ", ", ( + (map { N("due to conflicts with %s", $_) } @conflicts), (map { N("due to unsatisfied %s", $_) } uniq(map { #- XXX in theory we shouldn't need this, dependencies (and not ids) should #- already be present in @unsatisfied. But with biarch packages this is -- cgit v1.2.1