diff options
author | Francois Pons <fpons@mandriva.com> | 2001-07-26 09:36:59 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-07-26 09:36:59 +0000 |
commit | 1cb878e4481688017146cd208c05d7cec3f495a7 (patch) | |
tree | 0f1c2bbfe160b7310a347c628f352b8e040098dc /urpm.pm | |
parent | 3d387cc7db49507478804829781cefff62bc40ae (diff) | |
download | urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar.gz urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar.bz2 urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar.xz urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.zip |
fix tentative to always install packages.
Diffstat (limited to 'urpm.pm')
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1379,9 +1379,9 @@ sub filter_minimal_packages_to_upgrade { foreach (keys %provides) { $provides{$_} and next; my (@choices, @upgradable_choices, %choices_id); - foreach (@{$urpm->{params}{provides}{$_}}) { + foreach my $fullname (@{$urpm->{params}{provides}{$_}}) { #- prefer upgrade package that need to be upgraded, if they are present in the choice. - my $pkg = $urpm->{params}{info}{$_}; + my $pkg = $urpm->{params}{info}{$fullname}; if (my @best = grep { exists $packages->{$_->{id}} } ($pkg, $urpm->{params}{names}{$pkg->{name}})) { $pkg = $best[0]; #- keep already requested packages. } |