From 078e57da51845413408d1a0a69fc68777bad8232 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 7 Jul 2008 14:08:58 +0000 Subject: - revert change introduced in 3.16 (it breaks too much, eg superuser--priority-upgrade.t test case), and introduce $state->{rejected_already_installed} instead --- URPM/Resolve.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'URPM') diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index 61429c2..8c58c63 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -680,7 +680,7 @@ sub _set_rejected_old_package { my ($state, $pkg, $new_pkg) = @_; if ($pkg->fullname eq $new_pkg->fullname) { - $state->{rejected}{$pkg->fullname}{installed} = 1; + $state->{rejected_already_installed}{$pkg->id} = $pkg; } else { push @{$state->{rejected}{$pkg->fullname}{backtrack}{keep}}, scalar $new_pkg->fullname; } -- cgit v1.2.1