[packagekit] iface.InstallPackageName('openoffice-clipart') did not work
nicholas adrian
nicholas_adrian at yahoo.com
Fri Jun 13 12:48:18 PDT 2008
Hi,
I tried to run a sample code from PackageKit FAQ which basically
install a package through dbus but failed with the following message:
Unable
to use PackageKit: org.freedesktop.DBus.Error.UnknownMethod: Method
"InstallPackageName" with signature "s" on interface
"org.freedesktop.PackageKit" doesn't exist
I run another dbus code to run Introspect and get the following:
<node>
<interface name="org.freedesktop.DBus.Introspectable">
<method name="Introspect">
<arg name="data" direction="out" type="s"/>
</method>
</interface>
<interface name="org.freedesktop.DBus.Properties">
<method name="Get">
<arg name="interface" direction="in" type="s"/>
<arg name="propname" direction="in" type="s"/>
<arg name="value" direction="out" type="v"/>
</method>
<method name="Set">
<arg name="interface" direction="in" type="s"/>
<arg name="propname" direction="in" type="s"/>
<arg name="value" direction="in" type="v"/>
</method>
<method name="GetAll">
<arg name="interface" direction="in" type="s"/>
<arg name="props" direction="out" type="a{sv}"/>
</method>
</interface>
</node>
I also check through d-feet and didn't see 'InstallPackageName' method there.
Is there anything that I have to set in order packagekit dbus to see 'InstallPackageName' method?
Note: I run gpk-update-icon already.
-Nicholas-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20080613/4e706dae/attachment-0002.htm>
More information about the PackageKit
mailing list