I attempted to update yesterday and Arch returned the message, unable to lock database and exited.
I had to manually remove the /var/lib/pacman/db.lck and then re-issue sudo pacman -Sy.
This happened again today.
I have never faced this issue before. is there a workaround to fix this so that I will not have to remove the /var/lib/pacman/db.lck file all the time manually in future?
Can you please advise?