• sync failure of pacman database

    Hi there

    Fora few days I have not been able to install updates. When I click on the software update icon, I get a pop-up window stating “Error : synchronization failure. Impossible to lock database.”

    Has anyone noted anything similar recently ? Any hints ?

    I am on Gnome,if it matters.

    Thanks for your support

  • @squid-f

    sudo rm /var/lib/pacman/db.lck

  • Hi,

    super, it worked ! Thanks !

    Do you know why / how the database has been locked ? Did I do something wrong ?


  • The same thing happened to me as well, which I was able to fix thanks to sudo rm /var/lib/pacman/db.lck . I’m also wondering, what’s the cause of this issue?

  • from the arch wiki

    “Failed to init transaction (unable to lock database)” error
    When pacman is about to alter the package database, for example installing a package, it creates a lock file at /var/lib/pacman/db.lck. This prevents another instance of pacman from trying to alter the package database at the same time.
    If pacman is interrupted while changing the database, this stale lock file can remain. If you are certain that no instances of pacman are running then delete the lock file:

update57 database14 synchronization1 Posts 5Views 1798
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.