[packagekit] packagekit: Branch 'master'
Tim Lauridsen
tim.lauridsen at googlemail.com
Mon Nov 12 22:20:58 PST 2007
> diff --git a/docs/pk-introduction.xml b/docs/pk-introduction.xml
> index f59aab8..d1fc50d 100644
> --- a/docs/pk-introduction.xml
> +++ b/docs/pk-introduction.xml
> @@ -1209,11 +1209,20 @@
> </para>
> <para>
> <literal>Package</literal> enumerated types should be
> + <literal>blocked</literal>,
> <literal>low</literal>,
> <literal>normal</literal>,
> <literal>important</literal> or
> <literal>security</literal>.
> </para>
> + <para>
> + The status <literal>blocked</literal> signifies the package cannot be
> + updated, probably due to other dependencies not being met.
> + This type allows the GUI tools to show to the user that an update
> + exists, but cannot be installed.
> + The reason for it not being installed should be put into the update
> + description when doing GetUpdateDetail.
> + </para>
> </sect2>
>
This is not good, it will take a lot of time.
In getting updates we have to depsolve each to see it it can be updated
and report 'blocked' if not.
In GetUpdateDetail we have to do the same and submit the 'depsolver
error messages'.
Why not add a new signal 'dep-problem <package id> <cause> and emit it
just after 'package broken <package id>'
Then we just have to depsolve once.
It would also be nice to have a depcheck flag on get-updates to
enable/disable
'get-updates' will do like it does today and 'get-updates depcheck'
will run depcheck on each package.
Tim
More information about the PackageKit
mailing list