This morning when I tried to update my system with yay command I got this error:
mardix@mardix-81x2 ~]$ yay
-> /var/lib/pacman/db.lck is present.
-> There may be another Pacman instance running. Waiting...
So what’s the problem and how can I fix it?
sudo rm /var/lib/pacman/db.lck
This file prevents multiple instances, if pacman crashes it can be left behind. Just delete it.
Thanks. I just did some search which I should have done at first place and found the same solution here:
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.