[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 :
http://code.toofishes.net/gitweb.cgi?p=pacman.git;a=commit;h=7daa6708d2afc710bebbb2dc30f4371f9d67120c
http://archlinux.org/pipermail/pacman-dev/2007-June/008499.html




More information about the pacman-dev mailing list