dump_pool ();
}
-bool resolve( bool have_extra_deps )
+bool resolve()
{
establish ();
cout_v << _("Resolving dependencies...") << endl;
- if (have_extra_deps)
- return God->resolver()->resolvePool( true, true );
-
return God->resolver()->resolvePool();
}
* ZYPPER_EXIT_INF_REBOOT_NEEDED - if one of patches to be installed needs machine reboot,
* ZYPPER_EXIT_INF_RESTART_NEEDED - if one of patches to be installed needs package manager restart
*/
-int solve_and_commit (bool have_extra_deps ) {
+int solve_and_commit () {
while (true) {
- bool success = resolve( have_extra_deps );
+ bool success = resolve();
if (success)
break;
void load_repo_resolvables();
void establish ();
-bool resolve( bool have_extra_deps = false );
+bool resolve();
void dump_pool ();
void show_patches();
void xml_list_patches();
* or ZYPPER_EXIT_OK or ZYPPER_EXIT_ERR_ZYPP on zypp erorr.
*
*/
-int solve_and_commit (bool have_extra_deps = false);
+int solve_and_commit ();
/**
* Loops through resolvables, checking if there is license to confirm. When
}
}
else
- return solve_and_commit (!just_name);
+ return solve_and_commit ();
return ZYPPER_EXIT_OK;
}
// returns ZYPPER_EXIT_OK, ZYPPER_EXIT_ERR_ZYPP,
// ZYPPER_EXIT_INF_REBOOT_NEEDED, or ZYPPER_EXIT_INF_RESTART_NEEDED
else
- return solve_and_commit(best_effort);
+ return solve_and_commit();
return ZYPPER_EXIT_OK;
}