RPM验证错误P是什么意思

RPM verification error what is mean by P

我已经创建了一个 RPM 并且安装成功。安装后,当我尝试使用 --verify 命令验证 RPM 时,我在可执行文件 X it returns as

上收到错误
...P /location/to/file/X

我不知道P是什么意思。这个文件有一个特殊的能力来监听setcap设置的端口。你能告诉我P是什么意思吗?我已经搜索了 Google 但没有得到任何运气。提前致谢

正如 rpm man page 中所解释的(虽然简短):

rpm {-V|--verify} [select-options] [verify-options]

Verifying a package compares information about the installed files in the package with information about the files taken from the package metadata stored in the rpm database. Among other things, verifying compares the size, digest, permissions, type, owner and group of each file. Any discrepancies are displayed. Files that were not installed from the package, for example, documentation files excluded on installation using the "--excludedocs" option, will be silently ignored.

The format of the output is a string of 8 characters, a possible attribute marker:

....

from the package header, followed by the file name. Each of the 8 characters denotes the result of a comparison of attribute(s) of the file to the value of those attribute(s) recorded in the database. A single "." (period) means the test passed, while a single "?" (question mark) indicates the test could not be performed (e.g. file permissions prevent reading). Otherwise, the (mnemonically emBoldened) character denotes failure of the corresponding --verify test:

....

P caPabilities differ

因此,该文件在磁盘上的功能与 rpm 文件部分中列出的文件的功能不同。它有何不同取决于您找出(并可能修复)。