[packagekit] Do we need a Resolve() method?

Tim Lauridsen tla at rasmil.dk
Fri Sep 21 11:24:51 PDT 2007


Richard Hughes wrote:
> I think we need a Resolve() method that can take "openoffice-clipart"
> and turn it into "openoffice-clipart;1.234;i386;fedora" for the
> circumstance that we know the _exact_ package name "openoffice-clipart"
> but want to find the package_id so we can install it.
>
> This would let other programs just install using a simple client side
> resolve and then install, rather than having to hardcode a packageid, or
> get the backends to decode a partial package_id. It also lets us do
> "pkcon install openoffice" rather than using the packageid. Comments?
>
> Richard.
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit
>   
to make it clear for me, do you want to make yum-resolve 
'openoffice-clipart return then list of package ids in transaction there 
will be installed
like if you type 'yum install openoffice'.
yum-resolve <action> <package>|<package wildcard>, where <action> = 
'install/remove' counld be an idea

Tim



More information about the PackageKit mailing list