upgrade_system_sync


Description:

[ Version ( since = "1.0.12" ) ]
public Results upgrade_system_sync (string distro_id, UpgradeKind upgrade_kind, Cancellable? cancellable, ProgressCallback progress_callback) throws Error

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

progress_user_data

data to pass to progress_callback

Returns:

a Results object, or null for error