Bug 30795
Summary: | Wrong rpm -U script run order | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Péter, Soós <sp> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-03-06 10:29:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Péter, Soós
2001-03-06 10:28:51 UTC
Yes, rpm installs before remove. The order of script execution (including triggers) is in /usr/share/doc/rpm-*/triggers I'm surprised this is NOTABUG - I have just come across it myself and the behaviour, although as documented, is very non-intuitive. In my case the postinstall script copies a file to a predefined location and the postuninstall removes it. This means that on upgrade the file is copied and then deleted by the removal of the old package! Is there a workaround apart from not using rpm -U ? |