diff options
Diffstat (limited to 'urpm/select.pm')
-rw-r--r-- | urpm/select.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index cc96d9d5..e46d2c24 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -432,11 +432,14 @@ sub translate_why_unselected { sub translate_why_unselected_one { my ($urpm, $state, $fullname) = @_; - my $rb = $state->{rejected}{$fullname}{backtrack}; + my $obj = $state->{rejected}{$fullname}; + my $rb = $obj->{backtrack}; my @froms = keys %{$rb->{closure} || {}}; my @unsatisfied = @{$rb->{unsatisfied} || []}; + my @conflicts = keys(%$rb) ? () : keys %{$obj->{closure}}; my $s = join ", ", ( (map { N("due to missing %s", $_) } @froms), + (map { N("due to already installed %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 |