From 8c4ba003b8c03a94d70efb40978fe28282389673 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 1 Jul 2002 11:55:14 +0000 Subject: 0.05-2mdk --- URPM/Resolve.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'URPM') 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; -- cgit v1.2.1