aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--Rpmdrake/pkg.pm3
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 2d381111..875c1236 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,8 @@
(eg: after old buggy gurpmi.addmedia garbaged it) (#39511)
o fix priority upgrades:
* do not preselect updates
+ * do not recompute them when checking selection consistency just
+ before actually installing
Version 4.9.9 - 28 March 2008, Thierry Vignaud
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 0ef07ed7..8c659410 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -613,10 +613,9 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
# select packages to install / enssure selected pkg set is consistant:
my $requested = { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} };
- $need_restart ||= urpm::select::resolve_dependencies(
+ urpm::select::resolve_dependencies(
$urpm, $state, $requested,
callback_choices => \&Rpmdrake::gui::callback_choices,
- priority_upgrade => $urpm->{options}{'priority-upgrade'},
);
statusbar_msg_remove($bar_id);