| Summary: | dpkg postrm script deleted before it can run | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | James Juran <james.juran> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | busybox-cvs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
| Attachments: | fix | ||
Thanks, committed to git. Please test it. |
Created attachment 451 [details] fix When purging a package (dpkg -P), the postrm script is deleted before it has a chance to run. The attached patch excludes the postrm script from the initial deletion and then deletes it after the script has run. This problem was identified and initially patched by my colleague John Ata.