Pacman is currently in use, please wait

got ‘pacman is currently in use, please wait…’ error
and rm /var/lib/pacman/db.lck & reboot, with no luck.
how to fix?

Hi @Rip2,

I’m guessing you need to use sudo for the deleting:

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

Hope this helps!

did it but no go.

What is the output?

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

db.lck is gone.

Then you should be able to continue.

no still same error message.


reboot, i said it above.

Purge Pamac. Worker maybe locked pacman at all in background after login.

Please post the output of:

sudo ls /var/lib/pacman/


sudo ps aux | grep -i pacma[n]

ok, give up & wait 2022-02 image, thanks everyone.