Whenever we have a snapshot loaded, the solver might want to have a
little bit more liberty to find a solution. As we give it that liberty
later, we should not let the install check become a barrier.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
}
// Perform an install check to see whether we can build this at all
- r = pakfire_package_installcheck(package, &problems, 0);
+ r = pakfire_package_installcheck(package, &problems,
+ PAKFIRE_TRANSACTION_ALLOW_UNINSTALL|PAKFIRE_TRANSACTION_ALLOW_DOWNGRADE);
if (r) {
ERROR(build->ctx, "Cannot build %s:\n%s\n", nevra, problems);
goto ERROR;