diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -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); |