Version: unspecified OS: Linux After authenticating with Polkit and clicking 'accept agreement' on the agreement dialog, Apper stays in the 'waiting for service to start' state that it was in while the modal license agreement dialog was visible. Reproducible: Didn't try Steps to Reproduce: Try to install an update which requires license agreement (eg flash-player) on openSUSE Actual Results: Installation fails to proceed as above Expected Results: Install the update
Created attachment 65028 [details] Patch partially resolving the issue The attached patch partially solves the issue by correcting the signal and slot names in the connect() between the LicenseAgreementDialog and the handlers so clicking Accept actually accepts the eula. HOWEVER after accepting the eula, Apper returns to the update list, still showing the accepted package. It is necessary to accept this update again to actually perform the installation. The second time, there is no eula request from PK (I guess it has cached the previous acceptance) and the installation of the update goes through. I assume that the logic inside Apper to perform the installation immediately after accepting the eula is faulty.
How many attempts are needed to get the installation to succeed appears to be non-deterministic. I just retried and had to make 3 attempts vs 2 above.
Patch applied thanks.
Created attachment 65100 [details] Experimental logic shuffle This patch moves the requeueTransaction() call from the Transaction::ExitSucceeded case on the earlier transaction to the Transaction::ExitEulaRequired case. The result is that the eula update is checked in the list of updates and clicking Apply a second time installs it. Daniel: I would like the installation to proceed immediately after the user Accepts the LicenseAgreement dialog though, how can we do this?
Created attachment 65120 [details] Cleaner version of prior patch
The patch to PackageKit (http://paste.ubuntu.com/725631) doesn't apply at all to PackageKit 0.6.19 - the code has changed unrecognisably. We can't ship a different version of PK so late in the openSUSE release cycle. Is it possible for you to adapt the change to 0.6.19?
The patch was backported to the PackageKit's 0.6.X versions, I've tested it and it is working ok now.