From: Michael Schroeder Date: Tue, 18 Jun 2013 12:37:09 +0000 (+0200) Subject: Do recommends pruning after selecting the highest versions X-Git-Tag: BASE-SuSE-Code-13_1-Branch~74 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dc4a88c28e2e0413873db77725aa17ff5b5a121;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 96d35818..a73fc142 100644 --- a/src/policy.c +++ b/src/policy.c @@ -665,9 +665,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); }