Class
PackageKitTask
Description [src]
class PackageKit.Task : PackageKit.Client
{
PkTaskPrivate* priv
}
An abstract package task GObject, dealing with unsigned transactions, GPG keys and EULA requests.
Instance methods
pk_task_get_only_trusted
Gets if we allow only authenticated packages in the transaction.
since: 0.9.5
pk_task_install_files_async
Install a file locally, and get the deps from the repositories. This is useful for double clicking on a .rpm or .deb file.
since: 0.5.2
pk_task_install_files_sync
Install a file locally, and get the deps from the repositories. This is useful for double clicking on a .rpm or .deb file.
since: 0.5.3
pk_task_install_packages_sync
Install a package of the newest and most correct version.
since: 0.5.3
pk_task_remove_packages_async
Remove a package (optionally with dependencies) from the system.
If allow_deps is set to FALSE, and other packages would have to be removed,
then the transaction would fail.
since: 0.5.2
pk_task_remove_packages_sync
Remove a package (optionally with dependancies) from the system.
If allow_deps is set to FALSE, and other packages would have to be removed,
then the transaction would fail.
since: 0.5.3
pk_task_repair_system_async
Recover the system from broken dependencies and aborted installations.
since: 0.7.2
pk_task_repair_system_sync
Recover from broken dependencies of installed packages or incomplete installations.
since: 0.7.2
pk_task_set_allow_reinstall
If package reinstallation shall be allowed during transaction.
since: 1.0.2
pk_task_set_only_download
If the transaction should be prepared (depsolved, packages downloaded, etc) but not committed.
since: 0.8.1
pk_task_set_only_trusted
If only authenticated packages should be allowed in the transaction.
since: 0.9.5
pk_task_set_simulate
If the simulate step should be run without the actual transaction.
since: 0.6.10
pk_task_update_packages_async
Update specific packages to the newest available versions.
since: 0.5.2
pk_task_update_packages_sync
Update specific packages to the newest available versions.
since: 0.5.3
pk_task_upgrade_system_async
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.
since: 1.0.12
pk_task_upgrade_system_sync
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.
since: 1.0.12
Properties
PackageKit.Task:allow-reinstall
TRUE if package reinstallation shall be allowed during transaction.
since: 1.0.2
PackageKit.Task:only-trusted
TRUE if only authenticated packages should be allowed in the transaction.
since: 0.9.5
Properties inherited from PkClient (5)
PackageKit.Client:background
since: 0.5.3
PackageKit.Client:cache-age
The cache age in seconds, where G_MAXUINT means cache
“never expires”.
since: 0.6.10
PackageKit.Client:idle
Whether there are transactions in progress on this client or not.
since: 0.5.4
PackageKit.Client:interactive
since: 0.5.4
PackageKit.Client:locale
since: 0.5.3
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct PackageKitTaskClass {
PkClientClass parent_class;
void (* untrusted_question) (
PkTask* task,
guint request,
PkResults* results
);
void (* key_question) (
PkTask* task,
guint request,
PkResults* results
);
void (* eula_question) (
PkTask* task,
guint request,
PkResults* results
);
void (* simulate_question) (
PkTask* task,
guint request,
PkResults* results
);
void (* repair_question) (
PkTask* task,
guint request,
PkResults* results
);
void (* _pk_reserved1) (
void
);
void (* _pk_reserved2) (
void
);
void (* _pk_reserved3) (
void
);
void (* _pk_reserved4) (
void
);
}
No description available.
Class members
parent_class: PkClientClassNo description available.
untrusted_question: void (* untrusted_question) ( PkTask* task, guint request, PkResults* results )No description available.
key_question: void (* key_question) ( PkTask* task, guint request, PkResults* results )No description available.
eula_question: void (* eula_question) ( PkTask* task, guint request, PkResults* results )No description available.
simulate_question: void (* simulate_question) ( PkTask* task, guint request, PkResults* results )No description available.
repair_question: void (* repair_question) ( PkTask* task, guint request, PkResults* results )No description available.
_pk_reserved1: void (* _pk_reserved1) ( void )No description available.
_pk_reserved2: void (* _pk_reserved2) ( void )No description available.
_pk_reserved3: void (* _pk_reserved3) ( void )No description available.
_pk_reserved4: void (* _pk_reserved4) ( void )No description available.