Question : rror: failed to init transaction (unable to lock database) error: could not lock database: File exists if you're sure a package manager is not already running, you can remove /var/lib/pacman/db.lck
Answered by : chirag-goyal
$ sudo rm /var/lib/pacman/db.lck
Source : https://ostechnix.com/how-to-fix-unable-to-lock-database-error-in-arch-linux/ | Last Update : Fri, 11 Dec 20