diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/gui.pm | 1 |
2 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,5 @@ -Version 4.9.9 - 28 March 2008, Thierry Vignaud +- rpmdrake: + o do not crash if package is unknow (#39608) - gurpmi.addmedia: o handle --mirrorlist (Anssi) diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm index e81017c3..e8e7c33e 100644 --- a/Rpmdrake/gui.pm +++ b/Rpmdrake/gui.pm @@ -131,6 +131,7 @@ sub format_pkg_simplifiedinfo { my ($name, $version, $release) = split_fullname($key); my $pkg = $pkgs->{$key}; my $upkg = $pkg->{pkg}; + return if !$upkg; my $raw_medium = pkg2medium($upkg, $urpm); my $medium = $raw_medium ? $raw_medium->{name} : undef; my $update_descr = $descriptions->{$medium}{$name}; |