From: Michael Schroeder Date: Tue, 18 Jun 2013 12:37:09 +0000 (+0200) Subject: Do recommends pruning after selecting the highest versions X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=132da1c55b184ee8628dd38e2add4841f9aca92a;p=thirdparty%2Flibsolv.git Do recommends pruning after selecting the highest versions Michael Andres convinced me that is is what most users want. It doesn't break any test cases, so let's hope it makes the world a better place ;) --- diff --git a/src/policy.c b/src/policy.c index 915c865e..65b06891 100644 --- a/src/policy.c +++ b/src/policy.c @@ -656,9 +656,9 @@ policy_filter_unwanted(Solver *solv, Queue *plist, int mode) if (plist->count > 1 && pool->installed && (solv->dupmap_all || solv->dupinvolvedmap.size)) prune_installed_dup_packages(solv, plist); } + prune_best_arch_name_version(solv, pool, plist); if (plist->count > 1 && mode == POLICY_MODE_CHOOSE) prune_to_recommended(solv, plist); - prune_best_arch_name_version(solv, pool, plist); }