aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-20 15:18:19 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-20 15:18:19 +0000
commit532e6259d2553670bc5b1a947d379a9068ccfc61 (patch)
treec6a3a76679a7a62c5147d89dab898d13b7e79b2e
parent87331ac04024a8c3e4b611955aa0baf141758892 (diff)
downloadrpmdrake-532e6259d2553670bc5b1a947d379a9068ccfc61.tar
rpmdrake-532e6259d2553670bc5b1a947d379a9068ccfc61.tar.gz
rpmdrake-532e6259d2553670bc5b1a947d379a9068ccfc61.tar.bz2
rpmdrake-532e6259d2553670bc5b1a947d379a9068ccfc61.tar.xz
rpmdrake-532e6259d2553670bc5b1a947d379a9068ccfc61.zip
(perform_installation) fix crashing on uninstalling packages (#47751)
(backported from trunk for #48537)
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 33533c66..a80981d8 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- fix crashing on uninstalling packages (#47751)
+
Version 5.0.7 - 17 March 2009, Thierry Vignaud
- do not try to update & parse inactive debug backports media
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index d7e429aa..d8f05edb 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -722,7 +722,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