aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-15 11:29:53 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-15 11:29:53 +0000
commit2c6440585ffa9d92d51046fe3d44b1cbf62e5ab3 (patch)
tree383ad9c6c9f345f024552533aa23b188e9acaaea /URPM
parentf0fa848899cdbc60f070eba81fcc06a6094c0d5d (diff)
downloadperl-URPM-2c6440585ffa9d92d51046fe3d44b1cbf62e5ab3.tar
perl-URPM-2c6440585ffa9d92d51046fe3d44b1cbf62e5ab3.tar.gz
perl-URPM-2c6440585ffa9d92d51046fe3d44b1cbf62e5ab3.tar.bz2
perl-URPM-2c6440585ffa9d92d51046fe3d44b1cbf62e5ab3.tar.xz
perl-URPM-2c6440585ffa9d92d51046fe3d44b1cbf62e5ab3.zip
Force recomputation of rejected packages when deleting some in installation
dependency resolution
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index dd62be3..2fc63f2 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -688,6 +688,7 @@ sub resolve_requested {
push @keep, scalar $p->fullname;
} else {
#- no package has been found, we need to remove the package examined.
+ delete $state->{rejected}{$p->fullname}; #- force resolution
$urpm->resolve_rejected($db, $state, $p,
removed => 1, unsatisfied => \@properties,
from => scalar $pkg->fullname,