summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-07-26 09:36:59 +0000
committerFrancois Pons <fpons@mandriva.com>2001-07-26 09:36:59 +0000
commit1cb878e4481688017146cd208c05d7cec3f495a7 (patch)
tree0f1c2bbfe160b7310a347c628f352b8e040098dc
parent3d387cc7db49507478804829781cefff62bc40ae (diff)
downloadurpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar
urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar.gz
urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar.bz2
urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.tar.xz
urpmi-1cb878e4481688017146cd208c05d7cec3f495a7.zip
fix tentative to always install packages.
-rw-r--r--urpm.pm4
-rw-r--r--urpmi.spec5
2 files changed, 6 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index 7d237e47..dcf641ed 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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.
}
diff --git a/urpmi.spec b/urpmi.spec
index ab0f2a19..7f1904fe 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -2,7 +2,7 @@
Name: urpmi
Version: 1.7
-Release: 3mdk
+Release: 4mdk
License: GPL
Source0: %{name}.tar.bz2
Source1: %{name}.logrotate
@@ -110,6 +110,9 @@ rm -f /var/lib/urpmi/depslist
%changelog
+* Thu Jul 26 2001 François Pons <fpons@mandrakesoft.com> 1.7-4mdk
+- fixed tentative to always install package with -m mode.
+
* Wed Jul 25 2001 François Pons <fpons@mandrakesoft.com> 1.7-3mdk
- really fix crazy behaviour of --auto-select.
- fixed local packages install.