upgrade_system_async


Description:

[ Version ( since = "1.0.12" ) ]
public async void upgrade_system_async (string distro_id, UpgradeKind upgrade_kind, Cancellable? cancellable, ProgressCallback progress_callback)

This transaction will update the distro to the next version, which may involve just downloading the installer and setting up the boot device, or may involve doing an on-line upgrade.

The backend will decide what is best to do.

Parameters:

this

a valid Task instance

distro_id

a distro ID such as "fedora-14"

upgrade_kind

a UpgradeKind such as COMPLETE

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