From 0bd5c2e9b7925455bc0e8b6ca9a06c9e7515511b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 13 Feb 2009 22:40:56 +0000 Subject: (perform_installation) fix crashing on uninstalling packages (#47751) --- NEWS | 1 + Rpmdrake/pkg.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index dabf4021..6088110c 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,4 @@ +- fix crashing on uninstalling packages (#47751) - prevent crashing in URPM when using --env with relative paths - edit-urpm-sources: o do not use the same shortcut for "Add a specific "media mirror" diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 217c1f2e..edef6254 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -723,7 +723,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( }; my $exit_code = - urpm::main_loop::run($urpm, $state, 1, undef, $requested, + urpm::main_loop::run($urpm, $state, 1, [ ], $requested, { completed => sub { # explicitly destroy the progress window when it's over; we may -- cgit v1.2.1