aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 4f4207e..fdac138 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -649,11 +649,11 @@ sub request_packages_to_upgrade {
}
#- examine all packages which may be conflicting, it a package conflicts, it should not be requested.
- my @names = keys %names;
+ my @names = map { $_->name." == ".$_->epoch.":".$_->version."-".$_->release } values %names;
my @pkgs = values %names;
foreach my $pkg (@pkgs) {
foreach my $conflict ($pkg->conflicts) {
- delete @names{grep { ranges_overlap($conflict, $_) } @names};
+ delete @names{map { /(\S*)/ && $1 } grep { ranges_overlap($conflict, $_) } @names};
}
}