开发者

RPM : How to get Requires(post) list

Have generated rpm package with the spec file, where used Requires(post) to specify the required tools for the post installation section.

So how to get the list of Requires(post) tools list from a rpm package ? rpm -qp --whatrequires .rpm - does not list any tool开发者_StackOverflow社区s


You are mixing --requires and --whatrequires. The first one will list packages required by package specified, whereas the second one will tell you which packages require given package (or other provided metadata/files).

You should use --requires

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜