diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-08-08 17:38:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-08-08 17:38:41 +0000 |
commit | d45e922ecee1ec36e19fdad055b3ee2439d491d7 (patch) | |
tree | 1ecb4f2213879c3ab6a7722e68cbe6088cfb2869 /URPM | |
parent | 7aaa6bb448d5828920cf88ac8a0c59a6cd823d30 (diff) | |
download | perl-URPM-d45e922ecee1ec36e19fdad055b3ee2439d491d7.tar perl-URPM-d45e922ecee1ec36e19fdad055b3ee2439d491d7.tar.gz perl-URPM-d45e922ecee1ec36e19fdad055b3ee2439d491d7.tar.bz2 perl-URPM-d45e922ecee1ec36e19fdad055b3ee2439d491d7.tar.xz perl-URPM-d45e922ecee1ec36e19fdad055b3ee2439d491d7.zip |
"nopromoteepoch => 1" is the default option in ->unsatisfied_requires
Diffstat (limited to 'URPM')
-rw-r--r-- | URPM/Resolve.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index ac68af1..76a8925 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -355,7 +355,7 @@ sub backtrack_selected { $db->traverse_tag('whatrequires', [ $dep->{promote} ], sub { my ($p) = @_; if (my @l = $urpm->unsatisfied_requires($db, $state, $p, - nopromoteepoch => 1, name => $dep->{promote})) { + name => $dep->{promote})) { #- typically a redo of the diff_provides code should be applied... $urpm->resolve_rejected($db, $state, $p, removed => 1, @@ -761,7 +761,7 @@ sub resolve_requested { my ($n, $pkg) = ($dep->{name}, $dep->{pkg}); $db->traverse_tag('whatrequires', [ $n ], sub { my ($p) = @_; - if (my @l = $urpm->unsatisfied_requires($db, $state, $p, nopromoteepoch => 1, name => $n)) { + if (my @l = $urpm->unsatisfied_requires($db, $state, $p, name => $n)) { #- try if upgrading the package will be satisfying all the requires... #- there is no need to avoid promoting epoch as the package examined is not #- already installed. |