[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Doesn't "rpm -e" erase in reverse dependency order?
- From: Jos Vos <jos xos nl>
- To: RPM Package Manager <rpm-list redhat com>
- Subject: Re: Doesn't "rpm -e" erase in reverse dependency order?
- Date: Fri, 24 Feb 2006 09:02:02 +0100
On Thu, Feb 23, 2006 at 06:02:55PM -0800, Christian Goetze wrote:
> # rpm -e foo bar baz
>
> it may choose to erase foo prior to bar, even though bar depends on foo.
>
> This means I cannot rely on the existence of features witn %postun
> scriptlets, for example.
OK, sorry I misinterpreted it... to answer this, you should define
"depends" in the above sentence in more detail. For installation
(%post scripts etc.) you have to use "Prereq" (deprecated) or
"Requires(post)" etc. (as you probably know), as just "Requires"
does not affect the order *within* a translation.
For %postun scripts you have to use "Requires(postun)". However,
I remember a discussion about this on the fedeora-devel (IIRC) list
saying that this is not working correctly at the moment.
Probably Jeff can comment in more details about this.
--
-- Jos Vos <jos xos nl>
-- X/OS Experts in Open Systems BV | Phone: +31 20 6938364
-- Amsterdam, The Netherlands | Fax: +31 20 6948204
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]