diff options
author | Francois Pons <fpons@mandriva.com> | 2002-07-01 11:55:14 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2002-07-01 11:55:14 +0000 |
commit | 8c4ba003b8c03a94d70efb40978fe28282389673 (patch) | |
tree | 199a7e67700efa5d510edb7c788d9fa87b6b05a9 /URPM | |
parent | c1a17c783ad0accd7f7434500bbf2725972631e4 (diff) | |
download | perl-URPM-8c4ba003b8c03a94d70efb40978fe28282389673.tar perl-URPM-8c4ba003b8c03a94d70efb40978fe28282389673.tar.gz perl-URPM-8c4ba003b8c03a94d70efb40978fe28282389673.tar.bz2 perl-URPM-8c4ba003b8c03a94d70efb40978fe28282389673.tar.xz perl-URPM-8c4ba003b8c03a94d70efb40978fe28282389673.zip |
0.05-2mdk
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 1 |
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; |