[pacman-dev] pacman locking the db when downloading with -S ?

Andreas Radke a.radke at arcor.de
Sun Feb 25 08:40:13 EST 2007


i found this strange behavior:

while i had pacman3 -Syu downloading some updates it kept the db locked
so makepkg3 couldn't check the deps.

[andyrtr at workstation64 pacman3]$ rm -rf src/ && time makepkg3 -L 
==> Entering fakeroot environment
==> Making package: pacman-rc 2007.02.25-1 (So 25. Feb 14:34:46 CET
2007) ==> Checking Runtime Dependencies...
Fehler: unable to lock database
==> ERROR: pacman3 returned a fatal error (1): 
       Wenn Sie sicher sind, dass nicht bereits ein Paketmanager
       gestartet ist, können Sie /tmp/pacman.lck entfernen
==> Checking Buildtime Dependencies...
Fehler: unable to lock database
==> ERROR: pacman3 returned a fatal error (1): 
       Wenn Sie sicher sind, dass nicht bereits ein Paketmanager
       gestartet ist, können Sie /tmp/pacman.lck entfernen
==> Retrieving Sources...
==> Validating source files with md5sums
==> Validating source files with sha1sums
==> Extracting Sources...




It's ok that the pacman -Syu job locks the db while checking the
dependencies but it should unlock them after that immediatly and maybe
relock when installing the packages.

Andy




More information about the pacman-dev mailing list