diff options
Diffstat (limited to 'perl-install/install/pkgs.pm')
-rw-r--r-- | perl-install/install/pkgs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install/pkgs.pm b/perl-install/install/pkgs.pm index bb12e9cac..620e26b99 100644 --- a/perl-install/install/pkgs.pm +++ b/perl-install/install/pkgs.pm @@ -292,7 +292,7 @@ sub _resolve_requested_and_check { my $error; if (find { !exists $state->{selected}{$_} } keys %$requested) { - my @rejected = urpm::select::unselected_packages($packages, $state); + my @rejected = urpm::select::unselected_packages($state); $error = urpm::select::translate_why_unselected($packages, $state, @rejected); log::l("ERROR: selection failed: $error"); } @@ -825,7 +825,7 @@ sub _install_raw { log::l("rpm transactions start"); - my $exit_code = urpm::main_loop::run($packages, $packages->{state}, undef, undef, undef, { + my $exit_code = urpm::main_loop::run($packages, $packages->{state}, undef, undef, { open_helper => $callback, close_helper => sub { my ($db, $packages, $_type, $id) = @_; |