2025-12-16 10:20:31 -07:00
|
|
|
# paclock
|
|
|
|
|
|
|
|
|
|
> Lock/unlock the libalpm database (used by `pacman`) to prevent or allow simultaneous package management operations.
|
|
|
|
|
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/paclock.pod>.
|
|
|
|
|
|
|
|
|
|
- Lock the database:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`sudo paclock`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Write the lock file path to `stdout` (without locking the database):
|
|
|
|
|
|
|
|
|
|
`paclock --print`
|
|
|
|
|
|
|
|
|
|
- Unlock the database:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`sudo paclock --unlock`
|
2025-12-16 10:20:31 -07:00
|
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
|
|
|
|
|
`paclock --help`
|
|
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
|
|
`paclock --version`
|