aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 820eb3c..afc7864 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -267,8 +267,7 @@ sub resolve_requested {
if (my ($name) =~ /^([^\s\[]*)/) {
foreach (keys %{$urpm->{provides}{$name} || {}}) {
my $p = $urpm->{depslist}[$_];
- ($pkg->flag_requested || $pkg->flag_required) && $pkg->flag_upgrade and
- $state->{ask_unselect}{$p->id}{$pkg->id};
+ $pkg->flag_selected and $state->{ask_unselect}{$p->id}{$pkg->id};
}
}
}