From: Michael Schroeder Date: Tue, 6 Mar 2012 14:09:09 +0000 (+0100) Subject: - change duprule generation to ignore uninstallable packages X-Git-Tag: BASE-SuSE-Code-12_2-Branch~114 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5e5fe518689961992b676d83e57f8a2e9648c040;p=platform%2Fupstream%2Flibsolv.git - change duprule generation to ignore uninstallable packages --- diff --git a/src/rules.c b/src/rules.c index fd83c62..66b9706 100644 --- a/src/rules.c +++ b/src/rules.c @@ -1179,6 +1179,8 @@ solver_createdupmaps(Solver *solv) repo = pool_id2repo(pool, what); FOR_REPO_SOLVABLES(repo, p, s) { + if (repo != solv->installed && !pool_installable(pool, s)) + continue; MAPSET(&solv->dupmap, p); FOR_PROVIDES(pi, pp, s->name) {