The error popup is displayed by [PackageLock.Connect()](https://github.com/yast/yast-yast2/blob/master/library/packages/src/modules/PackageLock.rb#L179) function internally.