diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-01-11 11:09:36 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-01-11 11:09:36 +0000 |
commit | 584e7e3db6cca674c460d6ae87449083d3b1054f (patch) | |
tree | c4f3e44ec79a67758bb128dae34b9156f77daf72 /urpm/select.pm | |
parent | 5f79cf194e44dc4273f51c25ad11dcc5b34028b0 (diff) | |
download | urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar.gz urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar.bz2 urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.tar.xz urpmi-584e7e3db6cca674c460d6ae87449083d3b1054f.zip |
better fix for "always prompt before doing a priority-upgrade transaction,
even if there is only one priority upgrade package (since there will be
more packages to install after restarting urpmi)"
since we don't want to prompt if all pkgs have been especially prompted on
command-line
also not using suggests when selecting pkgs in priority-upgrade
(nb: this may by-pass some suggests in priority-upgrade pkgs, need more
checking)
Diffstat (limited to 'urpm/select.pm')
-rw-r--r-- | urpm/select.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/select.pm b/urpm/select.pm index a3f46a4e..bc1ca996 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -257,7 +257,7 @@ sub resolve_dependencies { my %priority_state; - $urpm->resolve_requested($db, \%priority_state, $priority_requested, %options); + $urpm->resolve_requested__no_suggests_($db, \%priority_state, $priority_requested, %options); if (grep { ! exists $priority_state{selected}{$_} } keys %$priority_requested) { #- some packages which were selected previously have not been selected, strange! } elsif (grep { ! exists $priority_state{selected}{$_} } keys %$selected) { |