aboutsummaryrefslogtreecommitdiffstats
path: root/URPM/Resolve.pm
diff options
context:
space:
mode:
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r--URPM/Resolve.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 883b9bf..820eb3c 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -122,6 +122,7 @@ sub resolve_requested {
#- of being chosen) by default and ask user.
foreach my $p (values %$packages) {
$p or next; #- this could happen if no package are suitable for this arch.
+ exists $state->{obsoleted}{$p->fullname} and next; #- avoid taking what is removed (incomplete).
exists $state->{selected}{$p->id} and $pkg = $p, last; #- already selected package is taken.
if (exists $requested{$p->id}) {
push @chosen_requested, $p;