On 20 Jun 2003 10:25:56 +0200
[EMAIL PROTECTED] (François Pons) wrote:

> "R.I.P. Deaddog" <[EMAIL PROTECTED]> writes:
> 
> > On 2003-06-17(Tue) 15:48:40 +0200, Marcel Pol wrote:
> > > It still leaves me with my question about update-alternatives.
> > 
> > Not confirmed, but my bet is: since /usr/bin/abiword is present in 1.0.4
> > but not 1.0.6 in %%files, rpm removes the files AFTER update-alternatives
> > is run. That is, after running postin script in new package, it goes ahead
> > to remove all non-existant (which it thinks so) files in the old package.
> > 
> > Is it so, fpons?
> 
> The bug concerns packages removed, not files removed.
> 
> This changes nothing for abiword as /usr/bin/abiword is created by
> update-alternatives by %post, it does not need to be present in %files.
> 
> Look at /usr/share/doc/rpm-*/triggers for documentation about which
> scriptlet section are executed first, you will see that if abiword-1.0.4 has
> /usr/bin/abiword in %files, /usr/bin/abiword is removed after %post is
> executed, which is probably bad, a %trigger should be used so.

Thank you both for pointing out the problem.
I'll see what to do with it.



--
Marcel Pol



Reply via email to