diff options
-rw-r--r-- | perl-install/pkgs.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index e046ab6eb..10c933e3c 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -786,8 +786,9 @@ sub selectPackagesToUpgrade { my $state = $packages->{state} ||= {}; $state->{selected} = {}; - $packages->resolve_requested($packages->{rpmdb}, $state, - $packages->request_packages_to_upgrade($packages->{rpmdb}, $state, {}, requested => undef) || {}, + my %selection; + $packages->request_packages_to_upgrade($packages->{rpmdb}, $state, \%selection, requested => undef); + $packages->resolve_requested($packages->{rpmdb}, $state, \%selection, callback_choices => \&packageCallbackChoices); } |