aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-09-17 13:16:47 +0000
committerFrancois Pons <fpons@mandriva.com>2002-09-17 13:16:47 +0000
commit3b66cccbb743adac20e4512264a47f36eeec1f1a (patch)
treeb2d0d1f6400f8170cc7e62268641c056834aed85 /URPM
parentc37b689a885ea3a2620f5beac3056b012f4d4423 (diff)
downloadperl-URPM-3b66cccbb743adac20e4512264a47f36eeec1f1a.tar
perl-URPM-3b66cccbb743adac20e4512264a47f36eeec1f1a.tar.gz
perl-URPM-3b66cccbb743adac20e4512264a47f36eeec1f1a.tar.bz2
perl-URPM-3b66cccbb743adac20e4512264a47f36eeec1f1a.tar.xz
perl-URPM-3b66cccbb743adac20e4512264a47f36eeec1f1a.zip
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 61b04f3..fd479fa 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -723,6 +723,7 @@ sub request_packages_to_upgrade {
my @names = map { $_->name." == ".$_->epoch.":".$_->version."-".$_->release } values %names;
my @pkgs = values %names;
foreach my $pkg (@pkgs) {
+ exists $requested{$pkg->name} or next;
foreach my $conflict ($pkg->conflicts) {
delete @names{map { /(\S*)/ && $1 } grep { ranges_overlap($conflict, $_) } @names};
}