开发者

How to detect rpm post scriptlet failure

How to detect if the rpm package installatio开发者_Python百科n's post install section code failed ?

I've got bunch of rpm packages and want to find the packages that have failed in post install section. Post install means, the bash script in post section of spec file.


The rpm database doesn't store the exit status of the scripts. The only way to know if it failed is at install time, the rpm command exits with the status of the scripts it ran.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜