To make the “PackageKit” message disappear instantly, just run the following command:
$ sudo systemctl disable --now packagekit && sudo systemctl mask packagekit
However, I advise you to read the entire article in order to understand the main reason for this issue and become an informed Linux user.
Are you tired of receiving the following “PackageKit” message every time you attempt to install, update, or remove any package from your OpenSUSE system?
Then you are not the only person; I am also tired of this. But before removing this message completely, let’s take a quick look at why it is appearing in the first place and when to remove it.
What is PackageKit in OpenSUSE?
PackageKit is a front-end (or system designed) for GUI programs such as Discover for KDE and GNOME Software Center for GNOME, unifying all the GUI tools used in different distributions for software management, thus making software installation and updates on your OpenSUSE system easier.
If you’re using a desktop environment on your current OpenSUSE system, whether it’s GNOME or KDE, a specific GUI tool might be continuously utilizing PackageKit in the background, resulting in the following message:
PackageKit is still running (probably busy)
The above message will apparently disappear after a certain time (depending on your internet and system speed), and then you can continue to install, update, or remove any package from your system.
Since many users, like you and me, prefer to always use Zypper in the terminal, there is no need for PackageKit. You can follow the steps below to disable it.
How to Disable “PackageKit” in OpenSUSE
$ sudo systemctl disable --now packagekit
It might be possible that some programs, such as GNOME Software Center, attempt to restart it. In that case, ensure to mask it using the following command:
$ sudo systemctl mask packagekit
(Optional) If you access OpenSUSE via SSH and do not require or have a desktop environment installed on your system, you can simply remove it by running:
$ sudo zypper remove PackageKit
That’s it. Now you will never encounter that “PackageKit” message each time while installing, updating, or removing any package from your system.
I hope this guide has helped you. If you have any questions or queries related to this article, feel free to tell us via the comment section.
Till then, peace!