/usr/bin/krunner-plugininstaller: error while loading shared libraries: libpackagekitqt6.so.1: cannot open shared object file: No such file or directory

I keep seeing this error when I try installing new things on Arch Linux, plasma 6.2.4.

The installation failed with code 127 while attempting to run the command:
krunner-plugininstaller install /home/Pyx/.local/share/krunner-sources/EmojiRunner-3.0.0/

The returned output was:
/usr/bin/krunner-plugininstaller: error while loading shared libraries: libpackagekitqt6.so.1: cannot open shared object file: No such file or directory

I have already tried yay -S packagekit and it successfully installed, I have no idea what is going on.

Do you have packagekit-qt6 installed? It seems to be only an optional dependency of discover, frameworkintegration and plasma-desktop in the Arch packaging, not a strict dependency of anything: Arch Linux - packagekit-qt6 1.1.2-1 (x86_64)

Because of that, if you don’t normally install optional dependencies then you might never have naturally installed it. (I’m not a packaging expert by any means, but it sounds like perhaps that package should be fully “required”?)

Hope that helps,

Thanks, that fixed the issue.