Command to update :
pacman -Syu
Then error showed ::: 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 any databases
error: 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
It said, if you're sure a pakage manager is not already running, you can remove /var/lib/pacman/db.lock
So i tried to remove it:
rm /var/lib/pacman/db.lock
Awesome, it worked..Now can update and install any application
pacman -Syu
0 comments:
Post a Comment