[packagekit] How to use RequireRestart
Arindam Choudhury
arindam at live.com
Tue Sep 22 08:13:47 PDT 2015
Hi,
I am trying to create a python script which will check if the system requires a restart due to packages update.
I found the RequireRestart class.
https://lazka.github.io/pgi-docs/PackageKitGlib-1.0/classes/RequireRestart.html
But I am unable to use it properly.
I tried https://gist.github.com/arindamchoudhury/3612d5ca2ec65ff5b617
but I am getting a blank list back. How should I do it? Is it possible to get RequireRestart or UpdateDetail from TransactionPast?
Thanks,
Arindam Choudhury
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20150922/5adbe428/attachment.html>
More information about the PackageKit
mailing list