Bug 10721 - order of post and preun scripts when upgrading rpms
Summary: order of post and preun scripts when upgrading rpms
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-11 08:00 UTC by gerald
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-04-13 10:44:48 UTC
Embargoed:


Attachments (Terms of Use)

Description gerald 2000-04-11 08:00:55 UTC
If I say rpm -U xxx.new.rpm

rpm will first run the "%post" script of the new rpm before the
"%preun" script of the old rpm. This seems to be nonsense to me.

It should first do

rpm -e xxx.old.rpm

and then

rpm -i xxx.new.rpm

Gerald

Comment 1 Jeff Johnson 2000-04-13 10:44:59 UTC
This has been the behavior of rpm for A Long Time Now. See the complete
order of scriptlet execution in /usr/doc/rpm-*/triggers.


Note You need to log in before you can comment on or make changes to this bug.