[pacman-dev] PM_LOCK

wael at siemens-mobiles.org wael at siemens-mobiles.org
Tue May 30 21:05:06 EDT 2006


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

Wael Nasreddine

More information about the pacman-dev mailing list