Kubuntu: KPackageKit cannot get exclusive lock

Just a small solution for an annoying errormessage I kept getting on my Kubuntu machine.
When trying to install some new software, KPackageKit kept giving me the error
"Cannot get the exclusive lock on the packaging backend. Please close any other legacy packaging tools that may be open."
Even though I had no other packaging tools open.
But apparently the problem is not with the locking, but with the signature verification. Executing this code will help you get rid off the problem, and enable you to install more stuff on your Linux machine 😉
gpg --keyserver keyserver.ubuntu.com --recv 02FDF932
gpg --export --armor 02FDF932 | sudo apt-key add -
sudo apt-get update

Leave a Comment





%d bloggers like this: