summaryrefslogtreecommitdiffstats
path: root/urpm.pm
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 /urpm.pm
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.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 1 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}};