diff options
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | Rpmdrake/pkg.pm | 5 |
2 files changed, 8 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- fix not listing all updates (#38595) + (regression introduced in 4.3.2 with "handle priority upgrade list") + Version 4.4.1 - 5 March 2008, Thierry Vignaud - fix crash (#38514) due to not having commited all bits of 'remember diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index eab0ecd4..7ca26dbe 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -423,12 +423,17 @@ sub get_pkgs { priority_upgrade => $urpm->{options}{'priority-upgrade'}, auto_select => 1, upgrade_callback => sub { + my ($requested) = @_; @requested = sort map { urpm_name($_) } @{$urpm->{depslist}}[keys %$requested]; }, if_($probe_only_for_updates, resolve_req_callback => sub { @requested_strict = sort map { urpm_name($_) } @_ } ), ); + + # list updates including skiped ones + their deps in MandrivaUpdate: + push @requested, difference2(\@requested_strict, \@requested) if $probe_only_for_updates; + $priority_state = $restart_itself ? $state : undef; $priority_requested = $restart_itself ? $requested : undef; |