summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-11-29 16:14:36 +0000
committerFrancois Pons <fpons@mandriva.com>2001-11-29 16:14:36 +0000
commit007f6d7680907c7a8405c7902d005332bbfe52c0 (patch)
tree65992e7e7027a8f6cfe13cafa741c30bcefa0301
parentdbe2878534f1c0dbb8e55ddf62e6ef842865c7ac (diff)
downloadurpmi-007f6d7680907c7a8405c7902d005332bbfe52c0.tar
urpmi-007f6d7680907c7a8405c7902d005332bbfe52c0.tar.gz
urpmi-007f6d7680907c7a8405c7902d005332bbfe52c0.tar.bz2
urpmi-007f6d7680907c7a8405c7902d005332bbfe52c0.tar.xz
urpmi-007f6d7680907c7a8405c7902d005332bbfe52c0.zip
removed debug log and updated changelog.
-rw-r--r--urpm.pm4
-rw-r--r--urpmi.spec1
2 files changed, 2 insertions, 3 deletions
diff --git a/urpm.pm b/urpm.pm
index 46ef0cd9..11fc1ac3 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -1394,7 +1394,7 @@ sub filter_minimal_packages_to_upgrade {
foreach (keys %provides) {
$provides{$_} || exists $selected{$_} and next;
$selected{$_} = undef;
- print STDERR "going to $_\n";
+
my (%pre_choices, @pre_choices, @choices, @upgradable_choices, %choices_id);
foreach my $fullname (@{$urpm->{params}{provides}{$_}}) {
my $pkg = $urpm->{params}{info}{$fullname};
@@ -1428,9 +1428,7 @@ sub filter_minimal_packages_to_upgrade {
my ($p) = @_;
my $cmp = rpmtools::version_compare($pkg->{version},
$p->{version});
- print STDERR "examining $pkg->{name}-$pkg->{version}-$pkg->{release}:$pkg->{serial} against $p->{name}-$p->{version}-$p->{release}:$p->{serial}";
$installed{$pkg->{id}} ||= !($pkg->{serial} > $p->{serial} || $pkg->{serial} == $p->{serial} && ($cmp > 0 || $cmp == 0 && rpmtools::version_compare($pkg->{release}, $p->{release}) > 0));
- print STDERR " gives $installed{$pkg->{id}}\n";
});
}
$installed{$pkg->{id}} and delete $packages->{$pkg->{id}};
diff --git a/urpmi.spec b/urpmi.spec
index c404cbf2..781a1b1a 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -131,6 +131,7 @@ rm -f /var/lib/urpmi/depslist
%changelog
* Thu Nov 29 2001 François Pons <fpons@mandrakesoft.com> 2.1-7mdk
- fixed -p flag with choices.
+- fixed -p kernel which may glob another kernel package.
* Wed Nov 28 2001 François Pons <fpons@mandrakesoft.com> 2.1-6mdk
- updated requires to webfetch.