aboutsummaryrefslogtreecommitdiffstats
path: root/URPM
diff options
context:
space:
mode:
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 });