JFYI a service is able to detect this by looking at the zypper return code: 7 - ZYPPER_EXIT_ZYPP_LOCKED The ZYPP library is locked, e.g. packagekit is running.