oops, fix last commit
authorMichael Schroeder <mls@suse.de>
Tue, 3 Sep 2013 14:08:13 +0000 (16:08 +0200)
committerMichael Schroeder <mls@suse.de>
Tue, 3 Sep 2013 14:08:13 +0000 (16:08 +0200)
src/transaction.c

index cc22292..69c12d9 100644 (file)
@@ -267,7 +267,7 @@ transaction_type(Transaction *trans, Id p, int mode)
       if (s->repo == pool->installed)
        {
          /* check if we're obsoleted by pseudos only */
-         if (obsoleted_by_pseudos_only(trans, pool->solvables - s))
+         if (obsoleted_by_pseudos_only(trans, s - pool->solvables))
            return SOLVER_TRANSACTION_ERASE;
          return SOLVER_TRANSACTION_IGNORE;     /* ignore as we're being obsoleted */
        }