diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | URPM.pm | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- prefer package from first medium when same NEVR exists in several media + (thus prefering 64bit media over 32 bit ones) (mga#7524) + Version 4.20 - 3 December 2012 - fix a rare segfault @@ -32,7 +32,7 @@ sub set_nofatal { sub packages_providing { my ($urpm, $name) = @_; - grep { $_ } map { $urpm->{depslist}[$_] } keys %{$urpm->{provides}{$name} || {}}; + grep { $_ } map { $urpm->{depslist}[$_] } sort { $a <=> $b } keys %{$urpm->{provides}{$name} || {}}; } sub packages_obsoleting { |