summaryrefslogtreecommitdiff
path: root/src/transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transaction.c')
-rw-r--r--src/transaction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/transaction.c b/src/transaction.c
index 2aa4b9d..b6f6bd7 100644
--- a/src/transaction.c
+++ b/src/transaction.c
@@ -296,8 +296,8 @@ transaction_type(Transaction *trans, Id p, int mode)
return type;
if (s->repo == pool->installed)
{
- /* check if we're obsoleted by pseudos only */
- if (obsoleted_by_pseudos_only(trans, s - pool->solvables))
+ /* check if we're a real package that is obsoleted by pseudos */
+ if (!is_pseudo_package(pool, s) && obsoleted_by_pseudos_only(trans, s - pool->solvables))
return SOLVER_TRANSACTION_ERASE;
return SOLVER_TRANSACTION_IGNORE; /* ignore as we're being obsoleted */
}