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 801929b..1f23552 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -561,9 +561,7 @@ sub backtrack_selected {
if (defined $dep->{required}) {
#- avoid deadlock here...
- if (exists $state->{backtrack}{deadlock}{$dep->{required}}) {
- $options{keep} = 1; #- force keeping package to that backtrack is doing something.
- } else {
+ if (!exists $state->{backtrack}{deadlock}{$dep->{required}}) {
$state->{backtrack}{deadlock}{$dep->{required}} = undef;
#- search for all possible packages, first is to try the selection, then if it is
@@ -593,6 +591,8 @@ sub backtrack_selected {
return { required => $_->id,
exists $dep->{from} ? (from => $dep->{from}) : @{[]},
exists $dep->{requested} ? (requested => $dep->{requested}) : @{[]},
+ exists $dep->{promote} ? (promote => $dep->{promote}) : @{[]},
+ exists $dep->{psel} ? (psel => $dep->{psel}) : @{[]},
};
}
}