[pacman-dev] [PATCH 08/11] handle_unlock: log error when lock file is missing
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
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
--- 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-...
:headshakes: Acked the patch.
participants (2)
-
Allan McRae
-
Andrew Gregory