Ugly hack: have a newer (but empty) version of A require B.

On Mon, Jan 15, 2007 at 12:13:45PM +0200, Lior Kaplan wrote:
> Hi,
> 
> Yet another RPM problem...
> 
> I have an RPM install (lets call it A). I want another RPM to replaces it
> (lets call it B).
> 
> I've tried the Debian way [0] for this situation:
> RPM B provides A and obseletes A in the same time.
> 
> Which is similar to what I found on fedora [1].
> 
> The idea is that while the removal of A, it sees another RPM provides it,
> and thus runs the preun and postun as in an upgrade and not as in a
> complete removal.
> 
> Saddly, this doesn't happen, and A pre/post uninstall scripts run for a
> complete removal.
> 
> Any other suggestions? I didn't find helpful info in Google or at
> http://fedora.redhat.com/docs/drafts/rpm-guide-en/
> 
> Thanks.
> 
> 
> [0]
> http://www.debian.org/doc/manuals/developers-reference/ch-pkgs.en.html#s5.9.3
> [1]
> http://fedora.redhat.com/docs/drafts/rpm-guide-en/ch-dependencies.html#id2952568
> -- 
> Lior Kaplan
 
-- 
Dan Kenigsberg        http://www.cs.technion.ac.il/~danken        ICQ 162180901

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to