order of processing for rpm -Uhv (?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



rpm version used: rpm-4.2.1-4.2 (with RH EL3).

I have an rpm package that works fine with rpm -e / rpm -i, but rpm -Uhv
shows results in the following order, which seems illogical to me.
%pre    (new ver)
%post   (new ver)
%preun  (old ver)
%postun (old ver)

This obviously causes problems for me because the postun does some
cleanup of files that the post-install conditionally set up.  Can
someone help me understand why rpm -Uhv isn't ordered like this:
%preun  (old ver)
%postun (old ver)
%pre    (new ver)
%post   (new ver)

Maybe there is a later version of rpm that handles this differently, but
I would like to find a way to handle both rpm -i and rpm -U cleanly with
rpm-4.2 and later.

Andy



Andy Cress                      803-216-2356  fax:803-216-2178
Senior Software Engineer    andrew.r.cress@xxxxxxxxx
Intel Corporation, Columbia Design Center, CBA1
100 Center Point Cir., Suite 200, Columbia, SC 29210
http://ipmiutil.sf.net   http://scsirastools.sf.net
BTW, I speak for myself, not for Intel Corp.
"Do not merely look out for your own personal interests, but also for
the interests of others." Phil 2:4

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux