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.
a valid Client instance
a distro ID such as "fedora-14"
a Cancellable or
the function to run when the progress changes
data to pass to
a Results object, or