From: Michael Schroeder Date: Mon, 21 Dec 2015 11:55:34 +0000 (+0100) Subject: Fix assertion rule test X-Git-Tag: 0.6.16~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6402dfaf3352e7a459560758d31e0908f0ac03f;p=thirdparty%2Flibsolv.git Fix assertion rule test just checking for !r->d is not enough --- diff --git a/src/solver.c b/src/solver.c index 2e28b7d8..261f3676 100644 --- a/src/solver.c +++ b/src/solver.c @@ -228,7 +228,7 @@ autouninstall(Solver *solv, Id *problem) if (solv->keep_orphans) { r = solv->rules + v; - if (!r->d && r->p == (solv->installed->start + (v - solv->updaterules))) + if (!r->d && !r->w2 && r->p == (solv->installed->start + (v - solv->updaterules))) { lastfeature = v; lastupdate = 0;