diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 16:48:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 16:48:18 +0000 |
commit | f8e62559d9976f15a4b15ec63099ac123fcb354b (patch) | |
tree | ebe1e7be77ec6ef6e6af26a85193c5557265dcb2 | |
parent | 84732abe19447573067b747c2e5dd9d72a9ba0a3 (diff) | |
download | rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar.gz rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar.bz2 rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.tar.xz rpmdrake-f8e62559d9976f15a4b15ec63099ac123fcb354b.zip |
(resolve_dependencies) don't select all updates by default in rpmdrake
(#38611)
regression introduced in r238520 on 2008-03-04 in order to handle
priority upgrade list in 4.3.2: "(get_pkgs) use more modern
urpm::select::resolve_dependencies() API instead of partially
open-coding it, thus enabling further improvements"
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,6 +1,9 @@ - fix not listing all updates (#*38595) (regression introduced in 4.4 with 'remember state of "Show automatically selected packages" (#38138)' +- rpmdrake: + o don't select all updates by default in rpmdrake (#38611) + (regression introduced in 4.3.2 with "handle priority upgrade list") Version 4.4.1 - 5 March 2008, Thierry Vignaud diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 7ca26dbe..ec7a73f2 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -421,7 +421,8 @@ sub get_pkgs { $urpm, $state, $requested, callback_choices => \&Rpmdrake::gui::callback_choices, priority_upgrade => $urpm->{options}{'priority-upgrade'}, - auto_select => 1, + auto_select => $probe_only_for_updates, + only_request_packages_to_upgrade => 1, upgrade_callback => sub { my ($requested) = @_; @requested = sort map { urpm_name($_) } @{$urpm->{depslist}}[keys %$requested]; |