|PackageKit Reference Manual|
|Top | Description | Implemented Interfaces | Properties | Signals|
org.freedesktop.PackageKit — PackageKit interface
CanAuthorize (in 's' action_id, out 's' result) GetTid (out 's' tid) GetTimeSinceAction (in 's' role, out 'u' seconds) GetTransactionList (out 'as' transactions) StateHasChanged (in 's' reason) SuggestDaemonQuit () GetDaemonState (out 's' state) SetProxy (in 's' proxy_http, in 's' proxy_https, in 's' proxy_ftp, in 's' proxy_socks, in 's' no_proxy, in 's' pac) SetRoot (in 's' root)
TransactionListChanged ('as' transactions) RestartSchedule () RepoListChanged () UpdatesChanged () Changed ()
org.freedesktop.PackageKit implements org.freedesktop.DBus.Introspectable, org.freedesktop.DBus.Properties
'VersionMajor' read 'u' 'VersionMinor' read 'u' 'VersionMicro' read 'u' 'BackendName' read 's' 'BackendDescription' read 's' 'BackendAuthor' read 's' 'Roles' read 's' 'Groups' read 's' 'Filters' read 's' 'MimeTypes' read 's' 'Locked' read 'b' 'NetworkState' read 's' 'DistroId' read 's'
Allows a client to find out if it would be allowed to authorize an action.
||The action ID, e.g. org.freedesktop.packagekit.system-network-proxy-configure|
||The result, either yes, no or interactive.|
Gets a new transaction ID from the daemon
||The tid, e.g. 45_dafeca_checkpoint32|
This method allows us to query how long since an action has successfully completed.
||The role, e.g. update-system|
||The amount of time in seconds|
Gets the transaction list of any transactions that are in progress
||A list of transaction ID's|
This method suggests to PackageKit that the package backend state may have changed. This allows plugins to the native package manager to suggest that PackageKit drops it's caches.
||The reason of the state change. Valid reasons are resume or posttrans. Resume is given a lower priority than posttrans.|
Suggests to the daemon that it should quit as soon as possible, for instance if a native package management tool is waiting to be used.
Gets the debugging state from the daemon. No secure state will be shown, and all information is for reference only.
||The state of the dameon at this specific moment.|
SetProxy (in 's' proxy_http, in 's' proxy_https, in 's' proxy_ftp, in 's' proxy_socks, in 's' no_proxy, in 's' pac)
Sets the proxy used by the dameon.
||The HTTP proxy, e.g. username:password@server:port.|
||The HTTPS proxy, e.g. username:password@server:port.|
||The FTP proxy, e.g. username:password@server:port.|
||The SOCKS proxy, e.g. username:password@server:port.|
||The comma seporated list of sites to not use the proxy for, e.g. 127.0.0.1,localmirror.org.|
||The PAC file for the proxy, e.g. /etc/network/school.pac. Note: Most backends will not be able to use a PAC file.|
Callers need the org.freedesktop.packagekit.set-proxy
Sets the root used by the dameon backend.
||The install root, e.g. / or /mnt/ltsp.|
Callers need the org.freedesktop.packagekit.system-change-install-root
The transaction list has changed, because either a transaction has finished or a new transaction created.
||A list of transaction ID's.|
A system restart has been sceduled
This signal is emitted when the repository list has changed
This signal is emitted when the number of updates has changed
This signal is emitted when a property on the interface changes.
The major version number.
The minor version number.
The micro version number.
The backend name, e.g. "yum".
The backend description, e.g. "Yellow Dog Update Modifier".
The backend author, e.g. "Joe Bloggs <joe&blogs.com>".
The roles the backend supports, e.g. "search-name;refresh-cache".
The groups the backend supports, e.g. "accessories;games".
The filters the backend supports, e.g. "installed;newest".
The mime-types the backend supports, e.g. "application/x-rpm;application/x-deb".
Set when the backend is locked and native tools would fail.
Gets the network state from the daemon. This is provided as some clients may not want to use NetworkManager if the system daemon is configured to use something else.
If the system is managed using NetworkManager then the following states are supported: unknown, offline, online, wifi, mobile or wired. If the system is configured for legacy UNIX network fallback, or NetworkManager is not running then the folowing states are supported: unknown, offline or online.
The distribution identification, in the distro;version;arch form e.g. "debian;squeeze/sid;x86_64".