db_instance = rpmteDBInstance(te);
if (db_instance == 0) {
/* Could not get the db instance: WTD! */
- rpmlog(RPMMESS_FATALERROR,
+ rpmlog(RPMLOG_CRIT,
_("Could not get install element database instance!\n"));
break;
}
mi = rpmdbFreeIterator(mi);
if (h == NULL) {
/* Header was not there??? */
- rpmlog(RPMMESS_FATALERROR,
+ rpmlog(RPMLOG_CRIT,
_("Could not get header for auto-rollback transaction!\n"));
break;
}
default:
/* Not sure what to do on failure...just give up */
- rpmlog(RPMMESS_FATALERROR,
+ rpmlog(RPMLOG_CRIT,
_("Could not get repackaged header for auto-rollback transaction!\n"));
break;
}
rc = rpmtsAddInstallElement(rollbackTransaction, rph,
(fnpyKey) rpn, 1, te->relocs);
if (rc != RPMRC_OK)
- rpmlog(RPMMESS_FATALERROR,
+ rpmlog(RPMLOG_CRIT,
_("Could not add erase element to auto-rollback transaction.\n"));
break;
break;
default:
- rpmlog(RPMMESS_FATALERROR,
+ rpmlog(RPMLOG_CRIT,
_("Failure reading repackaged package!\n"));
break;
}