Dne Po 18. ledna 2016 14:49:23, Raymond Wooninck napsal(a):
On Monday, 18 January 2016 14:40:16 CET Vojtěch Zeisek wrote:
Yes, killing is not peaceful. :-) I thought root can send something like su CURRENTUSER -c 'akonadictl stop' and similarly start it again after upgrade.
Well, the question is also if the program akonadictl is still present when the command is issues. The package akonadi-server is the new KF5 based Akonadi and the KDE4 one is in akonadi-runtime. Given the obsoletes and/or Conflicts in akonadi-server, it will force yast/zypper to first uninstall the akonadi- runtime package (removing all binaries) and then to install the new akonadi- server package. If we now want to insert a command to stop the akonadi- server, we are faced with the fact that the akonadi-runtime package has already been removed, so akonadictl is most likely no longer available on the system. This means that killing the process would be the only way to stop the akonadiserver itself. This one will of course continue to run as that the binaries/libraries are already loaded in memory.
As you can see it is not that easy to find the right way and that it is not just a simple su command that could help out.
Ah, OK, thank You for explanation. So the only place for this insertion would be before removal of KDE4 version. Sincerely, Vojtěch -- Vojtěch Zeisek Komunita openSUSE GNU/Linuxu Community of the openSUSE GNU/Linux http://www.opensuse.org/ http://trapa.cz/