aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Rpmdrake/pkg.pm5
1 files changed, 4 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 1621e74e..aabdd1b6 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -721,8 +721,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