diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 3 |
2 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,8 @@ - handle gracefully locked RPM DB when trying to install some packages (#40244) - rpmdrake: + o do not list backports as unselected updates media in rpmdrake, not + just in MandrivaUpdate (#35009, #40556) o fix a crash when default view is unknown (#40025) o fix searching when numeric pad's return key is pressed diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index 80c48d20..ebd3f2df 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -548,7 +548,8 @@ sub pkgs_provider { all_updates => sub { # potential "updates" from media not tagged as updates: if (!$options{pure_updates} && !$Rpmdrake::pkg::need_restart) { - [ @{$h->{updates}}, grep { is_updatable($_) } @{$h->{installable}} ]; + [ @{$h->{updates}}, + difference2([ grep { is_updatable($_) } @{$h->{installable}} ], $h->{backports}) ]; } else { $h->{updates}; } |