开发者

How to detect rpm post scriptlet failure

开发者 https://www.devze.com 2023-04-12 00:42 出处:网络
How to detect if the rpm package installatio开发者_Python百科n\'s post install section code failed ?

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

精彩评论

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

关注公众号