observer wrote, around 06/09/2005 11:56 AM:
I've made a rpm that defines both %post and %postun macros and when i run an upgrade on it both get executed, the postun macro is run after the post macro an as result of it in therms of the other components of this app, which is divided in several rpms, this particular component is not installed because postun makes it look like not installed, which macros should i choose to make what i have now in post be exectuded after what i have in postun or none of them be executed when im upgrading?
See the bottom of the file 'triggers', which should be in /usr/share/doc/rpm-*/. It has the clearest description of the macro execution order on update I've found. Earlier parts of the file give examples on how to know if you're the "last" uninstall.