mardi
1
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.
7 Likes
mardi
3
Thanks. I just did some search which I should have done at first place and found the same solution here:
https://forum.endeavouros.com/t/error-updating-with-pacman-and-yay/3418

4 Likes
system
Closed
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.