aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/gui.pm4
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 20199490..b10f5c58 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- Fix list of matching packages when warning for packages not in list (bug
+ #62308)
+
Version 5.26.8 - 5 May 2011, by Per Øyvind Karlsen
- follow URPM API change for using the correct tag names 'providename' & 'basenames'
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 91e5b769..c3b02948 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -375,7 +375,9 @@ sub node_state {
#-PO: this is list fomatting: "- <package_name> (medium: <medium_name>)"
#-PO: eg: "- rpmdrake (medium: "Main Release"
N("- %s (medium: %s)", $_, pkg2medium($pkgs->{$_}{pkg}, $urpm)->{name});
- } grep { /^$short_name/ } keys %$pkgs),
+ } grep {
+ /^$short_name/ && $pkgs->{$_}{pkg}
+ } keys %$pkgs),
),
scroll => 1,
);