From: Michael Schroeder Date: Wed, 4 Nov 2009 11:37:35 +0000 (+0100) Subject: - use SOLVER_SOLUTION_DISTUPGRADE instead of replacing X-Git-Tag: BASE-SuSE-Code-12_1-Branch~161^2~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef18b12e9ad4061981b9cbe113dd3f6faf6879ea;p=thirdparty%2Flibsolv.git - use SOLVER_SOLUTION_DISTUPGRADE instead of replacing package with itself in dup mode --- diff --git a/src/problems.c b/src/problems.c index 1d074da9..70ffde49 100644 --- a/src/problems.c +++ b/src/problems.c @@ -440,7 +440,7 @@ convertsolution(Solver *solv, Id why, Queue *solutionq) if (solv->distupgrade && solv->rules[why].p != p && solv->decisionmap[p] > 0) { /* distupgrade case, allow to keep old package */ - queue_push(solutionq, p); + queue_push(solutionq, SOLVER_SOLUTION_DISTUPGRADE); queue_push(solutionq, p); return; }