The following sections explain key concepts used internally in PackageKit.
One important idea is the
This is the
a single string and is meant to represent a single package.
This is important when multiple versions of a package are installed and
only the correct one is removed.
package_id is parsed and checked carefully in
the helper code.
The package arch and data is optional, but 3
gnome-keyring-manager;2.18.0 is not.
The data field is used for the repository name.
The data field for an installed package must be
installed as this is used to identify which packages
are installable or installed in the client tools.
The data field for an non-installed local package must be
local as this signifies a repository name is not available
and that package resides locally on the client system.
csup;20060318-5;x86_64;local: for locally available package file.
csup;20060318-5;x86_64;fedora-devel: for package that is not installed
and can be downladed from the Fedora development repostory.
csup;20060318-5;x86_64;installed: for locally installed package
||If available to install|
||If update is of low severity|
||If update is of normal severity|
||If update is very important|
||If the update is security sensitive|
||If we are downloading this package|
||If we are updating this package|
||If we are installing this package|
||If we are removing this package|
||If we cannot use any other option|
The backend must ensure that the package_id only matches on one single package. A single package_id must be enough to uniquely identify a single object in any repository used on the system.