How To Fix “Pacman is currently in use, please wait”


I get this error message below:

Pacman is currently in use, please wait

When I try to run a command with either Yaourt or Pacman. I have tried rebooting my system, but failed.



This error message is as a result of unfinished jobs of pacman/yaourt hence making them locked in the previous tasked used in. Pacman/yaourt is locked in a uncompleted task when it has been canceled or you lost internet connection.

To fix this, all you need is to run the command below:

$ rm /var/lib/pacman/db.lck

Now, pacman/yaourt should work fine.