Update cheatsheets

This commit is contained in:
ivuorinen
2025-10-08 00:19:16 +00:00
parent 4102fec4f8
commit 52f5647220
45 changed files with 1002 additions and 38 deletions

33
tldr/linux/pacrepairdb Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# pacrepairdb
> Fix corrupted database entries in libalpm database.
> More information: <https://github.com/andrewgregory/pacutils/blob/master/doc/pacrepairdb.pod>.
- Perform a basic repair on a specific package:
`pacrepairdb {{package_name}}`
- Update the database entries without extracting or removing any packages:
`pacrepairdb {{package_name}} --dbonly`
- Display the packages to be repaired and the cache packages to be used without making any changes:
`pacrepairdb {{package_name}} --print-only`
- Display additional progress and debug information:
`pacrepairdb {{package_name}} --verbose`
- Display help:
`pacrepairdb --help`
- Display version:
`pacrepairdb --version`