summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/NEWS3
-rw-r--r--perl-install/install/pkgs.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index bccb70c4d..4c9f8d5fa 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- use new urpmi API in order to fix detecting whether installing
+ packages succedded or not
+
Version 12.11 - 9 March 2009
- fix accessing CD-ROM based media on x86_64
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm
index 87b1b88ad..f85a5f571 100644
--- a/perl-install/install/pkgs.pm
+++ b/perl-install/install/pkgs.pm
@@ -733,7 +733,7 @@ sub _install_raw {
my $exit_code = urpm::main_loop::run($packages, $packages->{state}, undef, undef, undef, {
open_helper => $callback,
close_helper => sub {
- my ($packages, $_type, $id) = @_;
+ my ($db, $packages, $_type, $id) = @_;
&$callback;
my $pkg = defined $id && $packages->{depslist}[$id] or return;
my $check_installed;