Skip to content

Instantly share code, notes, and snippets.

@jvdi
Last active September 27, 2023 09:28
Show Gist options
  • Save jvdi/477e568a8b9f6567df104bb3b0d1df6e to your computer and use it in GitHub Desktop.
Save jvdi/477e568a8b9f6567df104bb3b0d1df6e to your computer and use it in GitHub Desktop.
Resolve - Arch Pacman Error - Arch Linux Package Manager
Error :
$ sudo pacman -Syu 130 (01:59.904) < 07:38:10
:: 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 update archlinuxfr (unable to lock database)
error: failed to synchronize all databases
-------------------------------------------------------------
Solution :
$ sudo rm /var/lib/pacman/db.lck
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment