- public Results accept_eula (string eula_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
We may want to agree to a EULA dialog if one is presented.
- public async Results accept_eula_async (string eula_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
We may want to agree to a EULA dialog if one is presented.
- public Results adopt (string transaction_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Adopt a transaction.
- public async Results adopt_async (string transaction_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Adopt a transaction which allows the caller to monitor the state or
cancel it.
- public virtual void changed ()
- public Results depends_on (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the packages that depend this one, i.e. child.
- public async Results depends_on_async (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the packages that depend this one, i.e. child->parent.
- public Results download_packages (string[] package_ids, string directory, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Downloads package files to a specified location.
- public async Results download_packages_async (string[] package_ids, string directory, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Downloads package files to a specified location.
- public bool get_background ()
Gets the background value.
- public uint get_cache_age ()
Gets the maximum cache age value.
- public Results get_categories (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get a list of all categories supported.
- public async Results get_categories_async (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get a list of all categories supported.
- public Results get_details (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get details of a package, so more information can be obtained for GUI
or command line tools.
- public async Results get_details_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get details of a package, so more information can be obtained for GUI
or command line tools.
- public Results get_details_local (string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get details of a local package, so more information can be obtained
for GUI or command line tools.
- public async Results get_details_local_async (string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get details of a package, so more information can be obtained for GUI
or command line tools.
- public Results get_distro_upgrades (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This method should return a list of distribution upgrades that are
available.
- public async Results get_distro_upgrades_async (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This method should return a list of distribution upgrades that are
available.
- public Results get_files (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the file list (i.e. a list of files installed) for the specified
package.
- public async Results get_files_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the file list (i.e. a list of files installed) for the specified
package.
- public Results get_files_local (string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get file list of a local package, so more information can be obtained
for GUI or command line tools.
- public async Results get_files_local_async (string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get file list of a package, so more information can be obtained for
GUI or command line tools.
- public bool get_idle ()
Gets if the transaction client idle value.
- public bool get_interactive ()
Gets the client interactive value.
- public unowned string get_locale ()
Gets the locale used for this transaction.
- public Results get_old_transactions (uint number, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the old transaction list, mainly used for the transaction viewer.
- public async Results get_old_transactions_async (uint number, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the old transaction list, mainly used for the transaction viewer.
- public Results get_packages (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of packages from the backend
- public async Results get_packages_async (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of packages from the backend
- public Progress get_progress (string transaction_id, Cancellable? cancellable = null) throws Error
Get the progress of a transaction.
- public async Progress get_progress_async (string transaction_id, Cancellable? cancellable) throws Error
Find the current state of a transaction.
- public Results get_repo_list (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of repositories installed on the system.
- public async Results get_repo_list_async (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of repositories installed on the system.
- public Results get_update_detail (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get details about the specific update, for instance any CVE urls and
severity information.
- public async Results get_update_detail_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get details about the specific update, for instance any CVE urls and
severity information.
- public Results get_updates (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get a list of all the packages that can be updated for all
repositories.
- public async Results get_updates_async (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get a list of all the packages that can be updated for all
repositories.
- public Results install_files (Bitfield transaction_flags, string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a file locally, and get the deps from the repositories.
- public async Results install_files_async (Bitfield transaction_flags, string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a file locally, and get the deps from the repositories.
- public Results install_packages (Bitfield transaction_flags, string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a package of the newest and most correct version.
- public async Results install_packages_async (Bitfield transaction_flags, string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a package of the newest and most correct version.
- public Results install_signature (SigType type, string key_id, string package_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a software repository signature of the newest and most correct
version.
- public async Results install_signature_async (SigType type, string key_id, string package_id, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a software repository signature of the newest and most correct
version.
- 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.
- public async Results refresh_cache_async (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.
- public Results remove_packages (Bitfield transaction_flags, string[] package_ids, bool allow_deps, bool autoremove, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Remove a package (optionally with dependancies) from the system.
- public async Results remove_packages_async (Bitfield transaction_flags, string[] package_ids, bool allow_deps, bool autoremove, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Remove a package (optionally with dependancies) from the system.
- public Results repair_system (Bitfield transaction_flags, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This transaction will try to recover from a broken package management
system: e.g. the installation of a package with unsatisfied dependencies has been forced by using a low level tool (rpm or dpkg) or
the system was shutdown during processing an installation.
- public async Results repair_system_async (Bitfield transaction_flags, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This transaction will try to recover from a broken package management
system: e.g. the installation of a package with unsatisfied dependencies has been forced by the user using a low level tool (rpm or
dpkg) or the system was shutdown during processing an installation.
- public Results repo_enable (string repo_id, bool enabled, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Enable or disable the repository.
- public async Results repo_enable_async (string repo_id, bool enabled, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Enable or disable the repository.
- public Results repo_remove (Bitfield transaction_flags, string repo_id, bool autoremove, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Removes a repo and optionally the packages installed from it.
- public async Results repo_remove_async (Bitfield transaction_flags, string repo_id, bool autoremove, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Removes a repo and optionally the packages installed from it.
- public Results repo_set_data (string repo_id, string parameter, string value, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
We may want to set a repository parameter.
- public async Results repo_set_data_async (string repo_id, string parameter, string value, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
We may want to set a repository parameter.
- public Results required_by (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the packages that require this one, i.e. parent.
- public async Results required_by_async (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the packages that require this one, i.e. parent->child.
- public Results resolve (Bitfield filters, string[] packages, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Resolve a package name into a package_id
.
- public async Results resolve_async (Bitfield filters, string[] packages, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Resolve a package name into a package_id
.
- public Results search_details (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search all detailed summary information to try and find a keyword.
- public async Results search_details_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search all detailed summary information to try and find a keyword.
- public Results search_files (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search for packages that provide a specific file.
- public async Results search_files_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search for packages that provide a specific file.
- public Results search_groups (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Return all packages in a specific group.
- public async Results search_groups_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Return all packages in a specific group.
- public Results search_names (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search all the locally installed files and remote repositories for a
package that matches a specific name.
- public async Results search_names_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Search all the locally installed files and remote repositories for a
package that matches a specific name.
- public void set_background (bool background)
Sets the background value for the client.
- public void set_cache_age (uint cache_age)
Sets the maximum cache age value for the client.
- public void set_interactive (bool interactive)
Sets the interactive value for the client.
- public void set_locale (string locale)
Sets the locale to be used for the client.
- public Results update_packages (Bitfield transaction_flags, string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Update specific packages to the newest available versions.
- public async Results update_packages_async (Bitfield transaction_flags, string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Update specific packages to the newest available versions.
- 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.
- public async void upgrade_system_async (Bitfield transaction_flags, string distro_id, UpgradeKind upgrade_kind, Cancellable? cancellable, ProgressCallback progress_callback)
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.
- public Results what_provides (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This should return packages that provide the supplied attributes.
- public async Results what_provides_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
This should return packages that provide the supplied attributes.