[packagekit] What package provides a file?

Daniel Nicoletti dantti12 at gmail.com
Wed Aug 29 07:15:31 PDT 2012


You have SearchFile() method for that.

Best,

2012/8/29 Craig Keogh <cskeogh at adam.com.au>:
> Hi,
>
> I am using the PackageKit Transaction interface [1] via D-Bus,
> particularly the WhatProvides method. How do I find out what package
> provides a file? e.g. the file 'pppd.h'?
>
> I've read docs/provides-component-naming.txt [2]. It provides lots of
> cool features, but no simple 'file' component?
>
> Many thanks,
> --
> Craig Keogh <cskeogh at adam.com.au>
>
> [1] http://www.packagekit.org/gtk-doc/Transaction.html
> [2]
> https://gitorious.org/packagekit/packagekit/blobs/master/docs/provides-component-naming.txt
>
>
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit



-- 
Daniel Nicoletti

KDE Developer - http://dantti.wordpress.com


More information about the PackageKit mailing list