Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

error: failed to synchronize all databases (unable to lock database)

The beauty of Linux distros is sometimes they will the explicitly display the solution along with the error message. As you can see in the above output, it says: ".. you can remove /var/lib/pacman/db.lck".

So, I simply deleted the aforementioned file with command:

$ sudo rm /var/lib/pacman/db.lck
Source by ostechnix.com #
 
PREVIOUS NEXT
Tagged: #failed #synchronize #databases #lock
ADD COMMENT
Topic
Name
3+8 =