Description of problem: In PackageKit we currently swallow all the stdout from the yum transaction and it's not available for the user. This is bad. It would be really useful to get the output of some pre and post scriptlets (for instance from the vmware package) and show them as messages like we do other non-critical things. Additional info: I really don't need stuff like "kernel ################################# [85/102]" but the scriptlet output like "database will be rebuilt on next-boot" would be useful. Thanks.
You have to checkout the the scriptout function in the RPMCallback class. This is how yum cli does it. http://yum.baseurl.org/download/docs/yum-api/3.2.26/output-pysrc.html#YumCliRPMCallBack.scriptout AFAIK the pk yum plugin has it own RPMCallback, so you just have to the store the scriptout messages and send them to the frontend.