[ Version ( since = "0.5.3" ) ]
public Results install_files_sync (string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a file locally, and get the deps from the repositories.
This is useful for double clicking on a .rpm or .deb file.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
this |
a valid Task instance |
files |
a file such as "/home/hughsie/Desktop/hal-devel-0.10.0.rpm" |
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 |