Arch Linux How To Solve Failed To Synchronize All Databases

From Linux - Help
Jump to navigation Jump to search


Arch logo.png

After you try to update Arch Linux and get this error: *Failed to synchronize all databases* :

 sudo pacman -Suy
 Aug 05 22:04:40 x220 bash[622]: error: failed to update core (unable to lock database)
 Aug 05 22:04:40 x220 bash[622]: error: failed to update extra (unable to lock database)
 Aug 05 22:04:40 x220 bash[622]: error: failed to update community (unable to lock database)
 Aug 05 22:04:40 x220 bash[622]: error: failed to update multilib (unable to lock database)
 Aug 05 22:04:40 x220 bash[622]: error: failed to synchronize all databases

You can solve it with a Pacman clean cache, then retry your update:

 sudo pacman -Sc