[Pacman] Unable to lock database

This is a common error for Pacman(Package manager for Arch, Antergos…etc). One way to solve this is to simply remove /var/lib/pacman/db.lck (Might need root permission).

Execute the command below or find it manually with file manager.

[code language=”bash”] # sudo rm /var/lib/pacman/db.lck[/code]

Leave a Reply

Your email address will not be published. Required fields are marked *