aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index b076d8b2..8982046e 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -722,8 +722,11 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
}
};
+ # FIXME: sometimes state is lost:
+ my @ask_unselect = urpm::select::unselected_packages($urpm, $state);
+
my $exit_code =
- urpm::main_loop::run($urpm, $state, 1, [ ], $requested,
+ urpm::main_loop::run($urpm, $state, 1, \@ask_unselect, $requested,
{
completed => sub {
# explicitly destroy the progress window when it's over; we may