public Results refresh_cache (bool force, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Refresh the cache, i.e. download new metadata from a remote URL so that package lists are up to date.
This action may take a few minutes and should be done when the session and system are idle.
Warning: this function is synchronous, and may block. Do not use it in GUI applications.
a valid Client instance
if we should aggressively drop caches
a Cancellable or
the function to run when the progress changes
data to pass to
a Results object, or