<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">It was version 0.1.12. I updated to the latest one from rawhide:<br><br>PackageKit.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.2.3-3.20080611.fc10&nbsp; rawhide&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>PackageKit-libs.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.2.3-3.20080611.fc10&nbsp; rawhide&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>gnome-packagekit.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.2.3-3.20080611.fc10&nbsp;
 rawhide&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>yum-packagekit.i386&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.2.3-3.20080611.fc10&nbsp; rawhide<br><br>It can see 'InstallPackageName' right now.<br><br>Tests:<br>1. Install a package.<br>&nbsp;&nbsp;&nbsp; The package was installed successfully but I got the following message:<br><br>&nbsp;&nbsp;&nbsp; Unable to use PackageKit: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.<br><br>2. Re-install the same package.<br>&nbsp;&nbsp;&nbsp; Got the following message:<br><br>ERROR:dbus.proxies:Introspect error on :1.16:/org/freedesktop/PackageKit: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply.
 Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.<br>Unable to use PackageKit: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.<br><br>&nbsp;&nbsp;&nbsp; and the gpk-update-icon hang. I have to 'kill' it from command line.<br><br><br>3. Delete the package and reinstall it.<br>&nbsp;&nbsp;&nbsp; The package was installed successfully and got the same message as before.<br><br>&nbsp;&nbsp;&nbsp; Unable to use PackageKit: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired,
 or the network connection was broken.<br><br><br>- How to remove that error message when install a package?<br>- How to get the return value, say '5' which mean the package already installed?<br><br>-Nicholas-<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Richard Hughes &lt;hughsient@gmail.com&gt;<br>To: PackageKit users and developers list &lt;packagekit@lists.freedesktop.org&gt;<br>Sent: Sunday, June 15, 2008 7:30:55 AM<br>Subject: Re: [packagekit] iface.InstallPackageName('openoffice-clipart') did not work<br><br>
On Fri, 2008-06-13 at 12:48 -0700, nicholas adrian wrote:<br>&gt; <br>&gt; I tried to run a sample code from PackageKit FAQ which basically<br>&gt; install a package through dbus but failed with the following message:<br>&gt; <br>&gt; Unable to use PackageKit: org.freedesktop.DBus.Error.UnknownMethod:<br>&gt; Method "InstallPackageName" with signature "s" on interface<br>&gt; "org.freedesktop.PackageKit" doesn't exist<br><br>What version gnome-packagekit? You need at least 0.2.2 IIRC to support<br>this new API.<br><br>Richard.<br><br><br>_______________________________________________<br>PackageKit mailing list<br><a ymailto="mailto:PackageKit@lists.freedesktop.org" href="mailto:PackageKit@lists.freedesktop.org">PackageKit@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/packagekit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/packagekit</a><br></div></div></div><br>



      </body></html>