[packagekit] RFC: Use 5 package states rather than 2 (big break in API)

Duncan Mac-Vicar Prett dmacvicar at suse.de
Mon Nov 17 05:57:23 PST 2008


Richard Hughes wrote:
> ************************************************************
> A package_id can be in one of 5 states (one local, 4 remote):
>
> installed:  Installed on the local machine
> available:  Not installed, can be installed
> replay:     Installed, can re-install from a repo with the same version
> update:     Lesser version installed than available, can update
> revert:     Bigger version installed than available, can undo an update
>   
You really don't know that a package can be updated until you solve, as
that another package has greater version does not mean update is
possble, may be a conflict.

Duncan


More information about the PackageKit mailing list