[ 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.
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 |
progress_callback |
the function to run when the progress changes |
progress_user_data |
data to pass to |
a Results object, or |