[pacman-dev] [PATCH 08/11] handle_unlock: log error when lock file is missing

Allan McRae allan at archlinux.org
Sun Aug 3 06:06:07 EDT 2014


On 02/08/14 07:19, Andrew Gregory wrote:
> Problems due to concurrent running instances of pacman can be difficult
> to diagnose.  Log a warning to make it more obvious that that's what
> happened, that it's a bad idea, and hopefully encourage people who do
> things like removing the lock file to run pacman from an install script
> to at least be courteous enough to put it back when they're done.
> 
> Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
> ---
> 
> Example convoluted error due to concurrent instances:
>     https://bbs.archlinux.org/viewtopic.php?id=184122
> 
> Example install script manually removing the lock file:
>     https://github.com/manjaro/packages-core/blob/master/manjaro-system/manjaro-update-system.sh

:headshakes:


Acked the patch.


More information about the pacman-dev mailing list