← 返回命令列表

Linux command

pacreport 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

pacreport

Example

pacreport --unowned-files

Example

pacreport --missing-files

Example

pacreport --backups

Example

pacreport --group group_name

说明

pacreport generates reports about installed packages and system state. By default it produces a summary including packages sorted by size, optional dependencies, and group membership. It can also identify unowned files, missing package files, and pending configuration merges (.pacnew/.pacsave files). This tool is useful for system maintenance and cleanup tasks on Arch Linux systems.

参数

--unowned-files
List files not owned by any package
--missing-files
List files that should exist but are missing
--backups
Find unmerged backup files in /etc
--group _name_
Show uninstalled packages from specified group
--config _path_
Set an alternate pacman configuration file
--dbpath _path_
Set an alternate database location
--root _path_
Set an alternate installation root
--cachedir _path_
Set an alternate package cache location

FAQ

What is the pacreport command used for?

pacreport generates reports about installed packages and system state. By default it produces a summary including packages sorted by size, optional dependencies, and group membership. It can also identify unowned files, missing package files, and pending configuration merges (.pacnew/.pacsave files). This tool is useful for system maintenance and cleanup tasks on Arch Linux systems.

How do I run a basic pacreport example?

Run `pacreport` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --unowned-files do in pacreport?

List files not owned by any package