Method

PackageKitClientrepair_system_async

since: 0.8.1

Declaration [src]

void
pk_client_repair_system_async (
  PkClient* client,
  PkBitfield transaction_flags,
  GCancellable* cancellable,
  PkProgressCallback progress_callback,
  gpointer progress_user_data,
  GAsyncReadyCallback callback_ready,
  gpointer user_data
)

Description [src]

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.

Available since: 0.8.1

This method completes asynchronously. Use () inside the GAsyncReadyCallback to obtain the result of the operation.

Parameters

transaction_flags

Type: PkBitfield

A transaction type bitfield.

cancellable

Type: GCancellable

A GCancellable or NULL.

The argument can be NULL.
The data is owned by the caller of the method.
progress_callback

Type: PkProgressCallback

The function to run when the progress changes.

progress_user_data

Type: gpointer

Data to pass to progress_callback.

The argument can be NULL.
The data is owned by the caller of the method.
callback_ready

Type: GAsyncReadyCallback

The function to run on completion.

The argument can be NULL.
user_data

Type: gpointer

The data to pass to callback_ready.

The argument can be NULL.
The data is owned by the caller of the method.