- public async Results depends_on_async (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of dependant packages.
- public Results depends_on_sync (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of dependent packages.
- public async Results download_packages_async (string[] package_ids, string directory, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Downloads packages
- public Results download_packages_sync (string[] package_ids, string directory, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Downloads packages
- public virtual void eula_question (uint request, Results results)
- public bool get_allow_downgrade ()
Gets if we are allow packages to be downgraded.
- public bool get_allow_reinstall ()
Gets if we allow packages to be reinstalled.
- public async Results get_categories_async (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the categories available.
- public Results get_categories_sync (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the categories available.
- public async Results get_details_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets details about packages.
- public Results get_details_sync (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets details about packages.
- public async Results get_files_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the files in a package.
- public Results get_files_sync (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the files in a package.
- public bool get_only_download ()
Gets if we are just preparing the transaction for later.
- public bool get_only_trusted ()
Gets if we allow only authenticated packages in the transactoin.
- public async Results get_packages_async (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets the list of packages.
- public Results get_packages_sync (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets the list of packages.
- public async Results get_repo_list_async (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of available repositories.
- public Results get_repo_list_sync (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the list of available repositories.
- public bool get_simulate ()
Gets if we are simulating.
- public async Results get_update_detail_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets details about updates.
- public Results get_update_detail_sync (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets details about updates.
- public async Results get_updates_async (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets the update lists.
- public Results get_updates_sync (Bitfield filters, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Gets the update lists.
- public async Results install_files_async (string[] files, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a file locally, and get the deps from the repositories.
- 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.
- public async Results install_packages_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Merges in details about packages using resolve.
- public Results install_packages_sync (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Install a package of the newest and most correct version.
- public virtual void key_question (uint request, Results results)
- public virtual void media_change_question (uint request, Results results)
- public async Results refresh_cache_async (bool force, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Refresh the package cache.
- public Results refresh_cache_sync (bool force, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Refresh the package cache.
- public async Results remove_packages_async (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 remove_packages_sync (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 virtual void repair_question (uint request, Results results)
- public async Results repair_system_async (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Recover the system from broken dependencies and aborted installations.
- public Results repair_system_sync (Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Recover from broken dependencies of installed packages or incomplete
installations.
- public async Results repo_enable_async (string repo_id, bool enabled, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Enable or disable a specific repo.
- public Results repo_enable_sync (string repo_id, bool enabled, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Enable or disable a specific repo.
- public async Results required_by_async (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the packages this package requires.
- public Results required_by_sync (Bitfield filters, string[] package_ids, bool recursive, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Get the packages this package requires.
- public async Results resolve_async (Bitfield filters, string[] packages, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Resolves a package name to a package-id.
- public Results resolve_sync (Bitfield filters, string[] packages, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Resolves a package name to a package-id.
- public async Results search_details_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches for some package details.
- public Results search_details_sync (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches for some package details.
- public async Results search_files_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches for specific files.
- public Results search_files_sync (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches for specific files.
- public async Results search_groups_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches the group lists.
- public Results search_groups_sync (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches the group lists.
- public async Results search_names_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches for a package name.
- public Results search_names_sync (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Searches for a package name.
- public void set_allow_downgrade (bool allow_downgrade)
If package downgrades shall be allowed during transaction.
- public void set_allow_reinstall (bool allow_reinstall)
If package reinstallation shall be allowed during transaction.
- public void set_only_download (bool only_download)
If the transaction should be prepared (depsolved, packages downloaded,
etc) but not committed.
- public void set_only_trusted (bool only_trusted)
If only authenticated packages should be allowed in the transaction.
- public void set_simulate (bool simulate)
If the simulate step should be run without the actual transaction.
- public virtual void simulate_question (uint request, Results results)
- public virtual void untrusted_question (uint request, Results results)
- public async Results update_packages_async (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Update specific packages to the newest available versions.
- public Results update_packages_sync (string[] package_ids, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Update specific packages to the newest available versions.
- public async void upgrade_system_async (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 upgrade_system_sync (string distro_id, UpgradeKind upgrade_kind, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
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 bool user_accepted (uint request)
Mark a EULA as accepted by the user.
- public bool user_declined (uint request)
Mark a EULA as declined by the user.
- public async Results what_provides_async (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Find the package that provides some resource.
- public Results what_provides_sync (Bitfield filters, string[] values, Cancellable? cancellable, ProgressCallback progress_callback) throws Error
Find the package that provides some resource.