struct pakfire_transaction* transaction, struct pakfire_package* pkg) {
const Id id = pakfire_package_id(pkg);
- int type = transaction_type(transaction->transaction, id, SOLVER_TRANSACTION_SHOW_ACTIVE);
+ const int flags = SOLVER_TRANSACTION_CHANGE_IS_REINSTALL;
+
+ int type = transaction_type(transaction->transaction, id,
+ SOLVER_TRANSACTION_SHOW_ACTIVE|flags);
// If this step is being ignored in active mode, we try passive mode
if (type == SOLVER_TRANSACTION_IGNORE)
- type = transaction_type(transaction->transaction, id, 0);
+ type = transaction_type(transaction->transaction, id, flags);
// Translate solver types into our own types
switch (type) {