In regard to: rpm -U odd behavior, marks said (at 12:35pm on Feb 9, 2007):
During the upgrade process the echo commands revealed that the %pre and %post scriptlets for version 1.45 ran first followed by the %preun and %postun scriptlets for version 1.44! This, to me, is completely backwards.
Perhaps, but it's also completely documented behavior, and it has been this way for years. Search the net for "Maximum RPM", which is an outdated guide to RPM that still has lots of relevant bits. The bit on how to detect and handle upgrades in your %post and %postun scripts is in there. I know it can be tough to get started with RPM, but reading that document and asking questions here will help. Tim -- Tim Mooney mooney@xxxxxxxxxxxxxxxxxxxxxxxxx Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list