aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 5469740..54a21ce 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -666,9 +666,6 @@ sub resolve_requested__no_suggests_ {
my $pkg = _choose_required($urpm, $db, $state, $dep, \@properties, %options) or next;
- #- cancel flag if this package should be cancelled but too late (typically keep options).
- my @keep;
-
!$pkg || exists $state->{selected}{$pkg->id} and next;
if ($pkg->arch eq 'src') {
@@ -716,6 +713,9 @@ sub resolve_requested__no_suggests_ {
$state->{whatrequires}{$_}{$pkg->id} = undef;
}
+ #- cancel flag if this package should be cancelled but too late (typically keep options).
+ my @keep;
+
_handle_conflicts($urpm, $db, $state, $pkg, \@properties, $options{keep} && \@keep);
#- examine if an existing package does not conflict with this one.