}
if (argc < 2)
{
- fprintf(stderr, "Usage: cudftest <cudfin> [cudfout]");
+ fprintf(stderr, "Usage: cudftest <cudfin> [cudfout]\n");
exit(1);
}
cudfin = argv[1];
repo = repo_create(pool, "repo");
queue_init(&job);
repo_add_cudf(repo, installed, fp, &job, 0);
+ fclose(fp);
+
pool_createwhatprovides(pool);
/* debug */
solver_set_flag(solv, SOLVER_FLAG_ALLOW_UNINSTALL, 1);
/* solver_set_flag(solv, SOLVER_FLAG_IGNORE_RECOMMENDED, 1); */
- queue_push2(&job, SOLVER_VERIFY, SOLVER_SOLVABLE_ALL);
+ queue_push2(&job, SOLVER_VERIFY | SOLVER_SOLVABLE_ALL, 0);
if (solver_solve(solv, &job) != 0)
{
int problem;