aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2002-08-28 14:06:35 +0000
committerFrancois Pons <fpons@mandriva.com>2002-08-28 14:06:35 +0000
commiteab47b151d2489eea8b0a633b5e9a1dbaa493a56 (patch)
treed89145cb2a5bddf7009e574f17619406a423da68 /URPM
parent7860a9828ba608e67bff059f77d53370a400b569 (diff)
downloadperl-URPM-eab47b151d2489eea8b0a633b5e9a1dbaa493a56.tar
perl-URPM-eab47b151d2489eea8b0a633b5e9a1dbaa493a56.tar.gz
perl-URPM-eab47b151d2489eea8b0a633b5e9a1dbaa493a56.tar.bz2
perl-URPM-eab47b151d2489eea8b0a633b5e9a1dbaa493a56.tar.xz
perl-URPM-eab47b151d2489eea8b0a633b5e9a1dbaa493a56.zip
0.70-3mdk
Diffstat (limited to 'URPM')
-rw-r--r--URPM/Resolve.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm
index 25a3617..fe18957 100644
--- a/URPM/Resolve.pm
+++ b/URPM/Resolve.pm
@@ -263,7 +263,7 @@ sub resolve_requested {
my ($p) = @_;
if ($pkg->compare_pkg($p) < 0) {
$allow or update_state_provides($state, $pkg);
- $allow = 1;
+ $allow = ++$state->{oldpackage};
$options{keep_state} or
$urpm->resolve_closure_ask_remove($db, $state, $p,
{ old_requested => 1, id => $pkg->id });