RPM Community Forums

Mailing List Message of <rpm-users>

How to detect rpm post scriptlet failure

From: Levon Poghosyan <deimusmeister@gmail.com>
Date: Wed 12 Oct 2011 - 17:38:41 CEST
Message-ID: <CAJgCh_EDKHiTMqo-ccqa5f27HbbNkdX9ChLTO72iDr+JC33e2Q@mail.gmail.com>

How can I detect if the execution of post scriptlet of the rpm package
failed ?
I've generated the and rpm package which has a test command "lalala" in post
install section. So during the installation it prints out information that
command lalala was not found but the installation is still successful.
How do I identify this failure from post install section.

Please note I'm not interested in failure in other places, I just need to be
informed in post install scriptlet failed.

Received on Wed Oct 12 17:46:51 2011
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.