upgrade_system
Description:
[ Version ( since = "1.0.10" ) ]
public Results upgrade_system (Bitfield transaction_flags, string distro_id, UpgradeKind upgrade_kind, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
public Results upgrade_system (Bitfield transaction_flags, string distro_id, UpgradeKind upgrade_kind, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This transaction will upgrade 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.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
Parameters:
this |
a valid Client instance |
transaction_flags |
transaction flags |
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 |
Returns:
a Results object, or |