On Wed, May 31, 2006 at 03:05:06AM +0200, wael@siemens-mobiles.org wrote:
in lib/libalpm/alpm.h, you define PM_LOCK to "/tmp/pacman.lck", but the lock file should depend on config->root, a scenario:
I have a chroot at /home/chroot where I ran the following: pacman -Sy -r /home/chroot xorg gnome gnome-extra kde
And i want to update and/or install on my real root ( / ), so I run pacman -Syu
but pacman will exit since /tmp/pacman.lck exist, this is wrong, "pacman -r /home/chroot" should not lock "pacman -r /" since pacman will not touch /var/lib/pacman...
what about this patch? http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=pacman;a=plain_commitdif...; udv / greetings, VMiklos -- Developer of Frugalware Linux, to make things frugal - http://frugalware.org