- fix cleandeps bug with supplemented userinstalled packages
authorMichael Schroeder <mls@suse.de>
Thu, 1 Mar 2012 14:21:11 +0000 (15:21 +0100)
committerMichael Schroeder <mls@suse.de>
Thu, 1 Mar 2012 14:21:11 +0000 (15:21 +0100)
src/rules.c

index eca1534..135d6c7 100644 (file)
@@ -2575,6 +2575,8 @@ solver_createcleandepsmap(Solver *solv, Map *cleandepsmap, int unneeded)
                continue;
              if (!MAPTST(&im, ip))
                continue;
+             if (MAPTST(&userinstalled, ip - installed->start))
+               continue;
              supp = s->repo->idarraydata + s->supplements;
              while ((sup = *supp++) != 0)
                if (dep_possible(solv, sup, &im))