[pacman-dev] feature request: pacman lock file

Xavier shiningxc at gmail.com
Thu Aug 23 16:00:12 EDT 2007

On Thu, Aug 23, 2007 at 09:44:48PM +0200, Thomas Bächler wrote:
> I have several chroot environments that all use pacman as their package
> manager. I use a shared /tmp directory between them, so that X
> applications and some other things work across the chroots.
> This however is a problem with pacman, since pacman puts its lock file
> in /tmp/, which means I cannot use pacman simultaneously in these
> chroots. It would IMO be a better idea to put the lock file in
> /var/lib/pacman/ instead, which ensures that the lock file and the
> pacman database are always tied together.

This is done in pacman 3.1 already, it's now in /var/lib/pacman/db.lck by
default :

More information about the pacman-dev mailing list