I am a noob on an i5 desktop. I could not update my system. Terminal reads as follows, after I type and enter "sudo pacman -Syu"
[sudo] password for user-name: ********
:: Synchronizing package databases...
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to synchronize all databases
Help!!
I'm sorry, this is already covered in the wiki...
sudo rm /var/lib/pacman/db.lck
pacman-ArchWiki: "Failed to init transaction (unable to lock database)" error