From 389c30ed24368b5caa0e22a73f3216ae9fbf5c58 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Fri, 11 Nov 2011 14:57:38 +0100 Subject: [PATCH] [entropy.client.interfaces.dep] do not pull in a random package only matched by the key if key+slot is not available in repos --- lib/entropy/client/interfaces/dep.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/entropy/client/interfaces/dep.py b/lib/entropy/client/interfaces/dep.py index 950712a4d..9357fa405 100644 --- a/lib/entropy/client/interfaces/dep.py +++ b/lib/entropy/client/interfaces/dep.py @@ -2604,13 +2604,6 @@ class CalculatorsMixin: mask_filter = False, match_repo = match_repos) if maskedresults[0] == -1: remove.append(idpackage) - # look for packages that would match key - # with any slot (for eg: gcc, kernel updates) - matchresults = self.atom_match(cl_pkgkey) - if matchresults[0] != -1: - m_action = self.get_package_action(matchresults) - if m_action > 0 and (matchresults not in update): - update.append(matchresults) # validate remove, do not return installed packages that are # still referenced by others as "removable"