Hi! 2013/2/9 Raymond Wooninck <tittiatcoke@gmail.com>:
On 02/08/2013 10:00 PM, Will Stephenson wrote: [...] Apper wasn't rewritten as a a plasmoid. The old Apper is still there and is the default for openSUSE 12.3. People might start looking for something that is not part of the default setup. The plasmoid is available, as you know, but not really pushed yet. What is new is the integration with the KDE Notification system, that gives a better integration with the system when informing the user that updates are available. Well, that was available before too ;-) When you close the Apper window while installations/updates were running, the Sentinel integration would provide nice progress information in the tray. Also, the new update plasmoid is already ready to be used. It only lacks some small UI components (like a scrollbar), which we did not implement due to some Plasma bugs.
From there the update installation can be triggered, but this will still happen through the known Apper interface. The plasmoid can do that too and handle (most of) the UI for updating. It's pretty cool stuff!
Regarding PackageKit: Stephan Kulow is right with that. And mutex sounds fine. :) For Apt, it is planned to fork multiple processes for parallel actions to avoid problems. And, of course, no backend allows running two write-actions on the database at time. ;-) (But that is also not the reason why parallelization was developed). Btw: Do the native tools (YaST, zypper) emit a SuggestDaemonQuit() signal on the DBus when packagekitd is running? This could avoid locking issues when pkd is just running but doing nothing. (Many people complained about this...) A simple call like this: gdbus call --system \ --dest org.freedesktop.PackageKit \ --object-path /org/freedesktop/PackageKit \ --method org.freedesktop.PackageKit.SuggestDaemonQuit Will cause PK to quit as soon as it is safe to do so (i.e. only background actions are run). Native tools can probably wait for that, if they see that the package cache is locked and packagekitd is running. Maybe you already knew this, this just came to my mind when I read a bug report from an OpenSUSE user the last time, complaining about this. Kind regards, Matthias -- To unsubscribe, e-mail: opensuse-project+unsubscribe@opensuse.org To contact the owner, email: opensuse-project+owner@opensuse.org