Pacman is currently in use, please wait.

When an update gets interrupted in some way, that is, pacman/yaourt cannot finish its job, pacman may be locked for further use.

$ yaourt -Syu
==> Pacman is currently in use, please wait.

You can unlock pacman by removing

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

And pacman/yaourt will be working again!

Advertisements

3 Comments

  1. DC

    Didn’t work

    • Can you be a bit more specific as to what did not work?
      You need super user privileges to delete the file. If you are using sudo, type:
      $ sudo rm /var/lib/pacman/db.lck

  2. kaz

    yep, that worked $ sudo rm /var/lib/pacman/db.lck
    Not $ rm /var/lib/pacman/db.lck
    thanks

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: