[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
order of processing for rpm -Uhv (?)
- From: "Cress, Andrew R" <andrew r cress intel com>
- To: <rpm-list redhat com>
- Subject: order of processing for rpm -Uhv (?)
- Date: Thu, 3 Feb 2005 10:41:21 -0500
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 intel com
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
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]