# Update problem - var/lib/pacman/db.lck

**URL:** <https://forum.endeavouros.com/t/update-problem-var-lib-pacman-db-lck/5239>\
**Category:** Pacman & AUR helpers\
**Created:** [June 11, 2020, 6:05am UTC](https://forum.endeavouros.com/t/update-problem-var-lib-pacman-db-lck/5239 "2020-06-11T06:05:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![freebird54](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/freebird54/32/83106_2.png) [@freebird54](https://forum.endeavouros.com/u/freebird54)\
**Post date:** [June 11, 2020, 6:33am UTC](https://forum.endeavouros.com/t/update-problem-var-lib-pacman-db-lck/5239/2 "2020-06-11T06:33:41Z")

</div>

This is not of my own knowledge, but it is clear enough I would personally go with it. I acquired a list of aliases from a knowledgeable source, and this is included in that list:

```auto
alias unlock='sudo rm /var/lib/pacman/db.lck'

```

which seems to me to be a hint that it happens more than rarely (though not to me yet). I have had the error message, but it quickly cleared as whatever operation was running concluded and released the lock itself - usually I think it was a notification of pending updates that was running automatically… maybe such a thing glitched in your case?

---

_[View the full topic](https://forum.endeavouros.com/t/update-problem-var-lib-pacman-db-lck/5239)._
