repair_system
Description:
[ Version ( since = "0.8.1" ) ]
public Results repair_system (Bitfield transaction_flags, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
public Results repair_system (Bitfield transaction_flags, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This transaction will try to recover from a broken package management system: e.g. the installation of a package with unsatisfied dependencies has been forced by using a low level tool (rpm or dpkg) or the system was shutdown during processing an installation.
The backend will decide what is best to do.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a valid Client instance |
transaction_flags |
if only trusted packages should be installed |
cancellable |
a Cancellable or |
progress_callback |
the function to run when the progress changes |
progress_user_data |
data to pass to |
Returns:
a Results object, or |