[packagekit] pisi MIME Types

Richard Hughes hughsient at gmail.com
Fri Aug 7 07:06:24 PDT 2009


2009/8/7 Aşkın Yollu <askin at askin.ws>:
>   $ pkcon install twitux-0.69-4-3.pisi (files)
>
> I get  "Command failed:  This tool could not install the files: MIME
> type not supported /home/kelebek/twitux-0.69-4-3.pisi" error.
> I guess pk don't like "pisi" extension :)

It doesn't check the exension, but the detected mime-type. What's the output of:

gvfs-info /home/kelebek/twitux-0.69-4-3.pisi | grep content-type

>        return g_strdup ("application/x-pisi;");

I doubt it's application, but gvfs-info will tell us.

> where can i find documents for packagekit backend developers.

http://www.packagekit.org/gtk-doc/

I hope that helps,

Richard.



More information about the PackageKit mailing list