repair_system_async


Description:

[ CCode ( finish_name = "pk_client_generic_finish" ) ]
[ Version ( since = "0.8.1" ) ]
public async Results repair_system_async (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 the user 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.

Parameters:

this

a valid Client instance

transaction_flags

a transaction type bitfield

cancellable

a Cancellable or null

progress_callback

the function to run when the progress changes

callback_ready

the function to run on completion

progress_user_data

data to pass to progress_callback

user_data

the data to pass to callback_ready