Linux command
paccheck 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
List and check
paccheck
Check
paccheck [package1] [package2]
Example
paccheck --quiet
Example
paccheck --depends
Example
paccheck --help
说明
paccheck verifies the integrity and consistency of installed packages on Arch-based systems. It can check dependency relationships, verify that package files exist on disk, and validate file checksums against the package database records. The tool is useful for detecting system corruption, identifying manually modified configuration files, finding missing files, and ensuring all package dependencies are properly satisfied. It reads package metadata from the local pacman database.
参数
- --quiet
- Only display output if a problem is found
- --depends
- Check that all package dependencies are satisfied
- --opt-depends
- Check optional dependencies
- --files
- Check that package files exist
- --file-properties
- Check file properties against package database
- --md5sum
- Check file MD5 checksums
- --sha256sum
- Check file SHA256 checksums
- --require-mtree
- Treat missing MTREE data as an error
- --db-files
- Include database files in checks
- --backup
- Include backup files in checks
- --noextract
- Include NoExtract files in checks
- --noupgrade
- Include NoUpgrade files in checks
- --help
- Display help information
- --version
- Display version information
FAQ
What is the paccheck command used for?
paccheck verifies the integrity and consistency of installed packages on Arch-based systems. It can check dependency relationships, verify that package files exist on disk, and validate file checksums against the package database records. The tool is useful for detecting system corruption, identifying manually modified configuration files, finding missing files, and ensuring all package dependencies are properly satisfied. It reads package metadata from the local pacman database.
How do I run a basic paccheck example?
Run `paccheck` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --quiet do in paccheck?
Only display output if a problem is found