summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 507f82c0..03259f71 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -694,7 +694,7 @@ sub translate_why_removed_one {
my $closure = rejected_closure($state, $fullname) or return $fullname;
my ($from) = keys %$closure;
- my ($whyk) = keys %{$closure->{$from}};
+ my ($whyk) = sort { $b ne 'avoid' } keys %{$closure->{$from}};
my $whyv = $closure->{$from}{$whyk};
my $frompkg = $urpm->search($from, strict_fullname => 1);
my $s = do {