2016-12-18 10:09 GMT+01:00 Petter Reinholdtsen <[email protected]>:
>
> Package: packagekit-tools
> Version: 1.1.4-3
>
> According to
> <URL: https://github.com/kororaproject/kp-pharlap/tree/master/upstream >,
> the pkcon implementation in Ubuntu is able to look up packages
> supporting a given hardware device using the what-provides call. As
> AppStrema have information about this particular device, I expected this
> to work:
>
> pkcon what-provides usb:v08E6p3438d0200dc00dsc00dp00ic0Bisc00ip00in00
>
> But when I run it, I do not get a list of packages, only this:
>
> Getting provides [=========================]
> Loading cache [=========================]
> Finished [=========================]
>
> It also describe a dummy modalias for all attached hardware, which also
> do not work:
>
> pkcon what-provides "drivers_for_attached_hardware"
This only works for distributions which have this information embedded
in their package manager metadata (e.g. Fedora) or when it is injected
for a limited amount of packages (only Ubuntu) - the only way to make
this feature work properly on Debian would be to make PK query the
data from AppStream...
I wonder whether doing so would make sense...
Cheers,
Matthias
--
Debian Developer | Freedesktop-Developer
I welcome VSRE emails. See http://vsre.info/