r = pakfire_transaction_solve(transaction, 0, &problems);
if (r) {
if (problems)
- ERROR(build->ctx, "Could not install the source package:\n%s\n", problems);
+ ERROR(build->ctx, "Could not install packages:\n%s\n", problems);
goto ERROR;
}
- // Set how many packages have been changed
- const size_t changes = pakfire_transaction_count(transaction);
-
- // Sanity check to see if we actually try to install anything
- if (!changes) {
- ERROR(build->ctx, "The source package did not get installed\n");
- r = 1;
- goto ERROR;
- }
-
// Run the transaction
r = pakfire_transaction_run(transaction);
if (r)