commands.sh

paclock

linux

Lock/unlock the libalpm database (used by `pacman`) to prevent or allow simultaneous package management operations.

More info →

Examples (5)

Lock the database

Write the lock file path to `stdout` (without locking the database)

paclock --print

Unlock the database

sudo paclock --unlock

Display help

paclock --help

Display version

paclock --version
made by @shridhargupta | data from tldr-pages